diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-03-10 05:28:56 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-18 23:00:01 -0400 |
commit | 93d9b7d7a85cfb4e1711d5226eba73586dd4919f (patch) | |
tree | e821e36c2d2eb07cdc46df1d3b1ea23afaf970ca /net/ipv4/devinet.c | |
parent | 1e94d72feab025b8f7c55d07020602f82f3a97dd (diff) |
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.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, | |||
1095 | case NETDEV_DOWN: | 1095 | case NETDEV_DOWN: |
1096 | ip_mc_down(in_dev); | 1096 | ip_mc_down(in_dev); |
1097 | break; | 1097 | break; |
1098 | case NETDEV_BONDING_OLDTYPE: | 1098 | case NETDEV_PRE_TYPE_CHANGE: |
1099 | ip_mc_unmap(in_dev); | 1099 | ip_mc_unmap(in_dev); |
1100 | break; | 1100 | break; |
1101 | case NETDEV_BONDING_NEWTYPE: | 1101 | case NETDEV_POST_TYPE_CHANGE: |
1102 | ip_mc_remap(in_dev); | 1102 | ip_mc_remap(in_dev); |
1103 | break; | 1103 | break; |
1104 | case NETDEV_CHANGEMTU: | 1104 | case NETDEV_CHANGEMTU: |