summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2010-03-10 13:28:56 +0300
committerDavid S. Miller <davem@davemloft.net>2010-03-19 06:00:01 +0300
commit93d9b7d7a85cfb4e1711d5226eba73586dd4919f (patch)
treee821e36c2d2eb07cdc46df1d3b1ea23afaf970ca /include
parent1e94d72feab025b8f7c55d07020602f82f3a97dd (diff)
downloadlinux-93d9b7d7a85cfb4e1711d5226eba73586dd4919f.tar.xz
net: rename notifier defines for netdev type change
Since generally there could be more netdevices changing type other than bonding, making this event type name "bonding-unrelated" Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/notifier.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/notifier.h b/include/linux/notifier.h
index fee6c2f68075..f3635fc6e942 100644
--- a/include/linux/notifier.h
+++ b/include/linux/notifier.h
@@ -199,8 +199,8 @@ static inline int notifier_to_errno(int ret)
#define NETDEV_FEAT_CHANGE 0x000B
#define NETDEV_BONDING_FAILOVER 0x000C
#define NETDEV_PRE_UP 0x000D
-#define NETDEV_BONDING_OLDTYPE 0x000E
-#define NETDEV_BONDING_NEWTYPE 0x000F
+#define NETDEV_PRE_TYPE_CHANGE 0x000E
+#define NETDEV_POST_TYPE_CHANGE 0x000F
#define NETDEV_POST_INIT 0x0010
#define NETDEV_UNREGISTER_BATCH 0x0011