summaryrefslogtreecommitdiffstats
path: root/net/ipv4/devinet.c
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2010-03-10 10:28:56 +0000
committerDavid S. Miller <davem@davemloft.net>2010-03-18 20:00:01 -0700
commit93d9b7d7a85cfb4e1711d5226eba73586dd4919f (patch)
treee821e36c2d2eb07cdc46df1d3b1ea23afaf970ca /net/ipv4/devinet.c
parent1e94d72feab025b8f7c55d07020602f82f3a97dd (diff)
downloadop-kernel-dev-93d9b7d7a85cfb4e1711d5226eba73586dd4919f.zip
op-kernel-dev-93d9b7d7a85cfb4e1711d5226eba73586dd4919f.tar.gz
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 'net/ipv4/devinet.c')
-rw-r--r--net/ipv4/devinet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c
index 51ca946..c75320e 100644
--- a/net/ipv4/devinet.c
+++ b/net/ipv4/devinet.c
@@ -1095,10 +1095,10 @@ static int inetdev_event(struct notifier_block *this, unsigned long event,
case NETDEV_DOWN:
ip_mc_down(in_dev);
break;
- case NETDEV_BONDING_OLDTYPE:
+ case NETDEV_PRE_TYPE_CHANGE:
ip_mc_unmap(in_dev);
break;
- case NETDEV_BONDING_NEWTYPE:
+ case NETDEV_POST_TYPE_CHANGE:
ip_mc_remap(in_dev);
break;
case NETDEV_CHANGEMTU:
OpenPOWER on IntegriCloud