diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-03-10 13:28:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-19 06:00:01 +0300 |
commit | 93d9b7d7a85cfb4e1711d5226eba73586dd4919f (patch) | |
tree | e821e36c2d2eb07cdc46df1d3b1ea23afaf970ca /net/ipv4 | |
parent | 1e94d72feab025b8f7c55d07020602f82f3a97dd (diff) | |
download | linux-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 'net/ipv4')
-rw-r--r-- | net/ipv4/devinet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c index 51ca946e3392..c75320ef95c2 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: |