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)
commit755d0e77ac9c8d125388922dc33434ed5b2ebe80
treec63cd067dac50bfc9f912f7ab9e3a6b8e850af7f
parent3e81c6da39a265e11ef48f52bd15bf7ca0068c75
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