chiark / gitweb /
udev: fix segfault with android rndis
authorRob Clark <robdclark@gmail.com>
Sun, 3 Mar 2013 17:55:08 +0000 (12:55 -0500)
committerKay Sievers <kay@vrfy.org>
Sun, 3 Mar 2013 18:02:36 +0000 (19:02 +0100)
commitbb26309dd042c79de907f103d83f398b9436cde0
treea3b8ab1b18a3ee0c6e40b2da8f411e443edbe06c
parent1d600df55bdba448b05d6f8293028d6b6702914b
udev: fix segfault with android rndis

The android gadget driver for network tethering over rndis somehow has a
parent device with a null subsystem.  Probably this is bug in android driver,
but it is easy enough to make systemd/udev behave gracefully and not
segfault.  And this will help for making linux distros with systemd
(like fedora) work on android devices.
src/udev/udev-builtin-net_id.c