Browse files

pppoe: Must flush connections when MAC address changes too.

Kernel bugzilla: 39252

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information...
1 parent 4a2c0db commit 58a7fd7259a287b8efd70889b9f1d25a67b79df9 @davem330 davem330 committed with larsclausen Jul 18, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 drivers/net/pppoe.c
View
3 drivers/net/pppoe.c
@@ -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.
*/

0 comments on commit 58a7fd7

Please sign in to comment.