]> err.no Git - systemd/commit
udevd: do not wrongly delay events for devices with swapped names
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 13 Oct 2010 11:03:27 +0000 (13:03 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 13 Oct 2010 11:08:29 +0000 (13:08 +0200)
commitfc416258f346cd20cf822705bd0a50de82569a63
tree4cf45dedef8daf9f1d2e762c5b099abfc04c3420
parent457c67e7c1bc971c64e56dd11aaf697d2f9a1c76
udevd: do not wrongly delay events for devices with swapped names

Renaming network devices might delay events for the other device, which has
the same devpath in the meantime as the original event. Causing a delay until
the timout of the event is reached.

Look at the ifindex/devnum of the devices to check if they are really
the same devices.
Makefile.am
libudev/libudev-device.c
libudev/libudev-private.h
udev/udevd.c