chiark / gitweb /
[PATCH] cleanup netif handling and netif-dev.d/ events
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Tue, 19 Oct 2004 02:28:39 +0000 (19:28 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 05:02:46 +0000 (22:02 -0700)
commit5d24c6ca364c6232efa626049b03d02c15ab5e85
tree972572aae40413a0fb29f2b272a52e1f257c239e
parent7a947ce51586fd4212447643df90580542777ab9
[PATCH] cleanup netif handling and netif-dev.d/ events

Here we supress the dev.d/ execution if we didn't change a network
interface's name with a rule. This should solve the issue of two
running dhclients for the same interface, cause the
/etc/dev.d/net/hotplug.dev script that fakes the hotplug event runs
with every udevstart for every interface and fakes a second identical
hotplug event on bootup.

With this patch netif interfaces are no longer stored in the udevdb.
It is not needed, cause we don't have permissions or symlinks :) and
all information is available in sysfs.

This patch also moves the dev_d execution calls out of the
udev_add/udev_remove. As with the former api-cleanup-patch we have
all processed data in one udev struct and can place the execution
calls where needed.
dev_d.c
udev.c
udev.h
udev_add.c
udev_remove.c
udevdb.c
udevstart.c
udevtest.c