diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-05-25 04:12:10 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-25 23:12:19 -0700 |
commit | 42e52bf9e3ae80fd44b21ddfcd64c54e6db2ff76 (patch) | |
tree | 4d395ed55ed5e36d0b54ea49329e797c06783f9f /include/linux/netdevice.h | |
parent | 8513fbd880093f00a47e85a552f14ca2de8d84d6 (diff) | |
download | linux-stable-42e52bf9e3ae80fd44b21ddfcd64c54e6db2ff76.tar.gz linux-stable-42e52bf9e3ae80fd44b21ddfcd64c54e6db2ff76.tar.bz2 linux-stable-42e52bf9e3ae80fd44b21ddfcd64c54e6db2ff76.zip |
net: add netnotifier event for upper device change
Now when upper device is changed, event is not propagated via RT Netlink
to userspace. Userspace might never now about the change. Fix this by
adding upper-device-change notifier event.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 0ebd63ae2cc8..ea7b6bce9ea0 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -1593,6 +1593,7 @@ struct packet_offload { #define NETDEV_RELEASE 0x0012 #define NETDEV_NOTIFY_PEERS 0x0013 #define NETDEV_JOIN 0x0014 +#define NETDEV_CHANGEUPPER 0x0015 extern int register_netdevice_notifier(struct notifier_block *nb); extern int unregister_netdevice_notifier(struct notifier_block *nb); |