pppoe: Must flush connections when MAC address changes too.
authorDavid S. Miller <davem@davemloft.net>
Mon, 18 Jul 2011 18:48:28 +0000 (11:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Jul 2011 18:48:28 +0000 (11:48 -0700)
Kernel bugzilla: 39252

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pppoe.c

index 718879b..bc9a4bb 100644 (file)
@@ -348,8 +348,9 @@ static int pppoe_device_event(struct notifier_block *this,
 
        /* Only look at sockets that are using this specific device. */
        switch (event) {
+       case NETDEV_CHANGEADDR:
        case NETDEV_CHANGEMTU:
-               /* A change in mtu is a bad thing, requiring
+               /* A change in mtu or address is a bad thing, requiring
                 * LCP re-negotiation.
                 */