]> git.baikalelectronics.ru Git - kernel.git/commit
net: rtnetlink: ignore NETDEV_PRE_TYPE_CHANGE in rtnetlink_event()
authorPatrick McHardy <kaber@trash.net>
Fri, 19 Mar 2010 04:42:24 +0000 (04:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Mar 2010 01:31:34 +0000 (18:31 -0700)
commita0c9ca19cb8a8530e7d246aeb6deff83662e463d
treec63cd067dac50bfc9f912f7ab9e3a6b8e850af7f
parentc6ab3937f01f13d70ea62f500289e33523b1e4ea
net: rtnetlink: ignore NETDEV_PRE_TYPE_CHANGE in rtnetlink_event()

Ignore the new NETDEV_PRE_TYPE_CHANGE event in rtnetlink_event() since
there have been no changes userspace needs to be notified of.

Also add a comment to the netdev notifier event definitions to remind
people to update the exclusion list when adding new event types.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/notifier.h
net/core/rtnetlink.c