Browse Source

pppoe: Must flush connections when MAC address changes too.

Kernel bugzilla: 39252

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 14 years ago
parent
commit
680ba7ca63
1 changed files with 2 additions and 1 deletions
  1. 2 1
      drivers/net/pppoe.c

+ 2 - 1
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. */
 	/* Only look at sockets that are using this specific device. */
 	switch (event) {
 	switch (event) {
+	case NETDEV_CHANGEADDR:
 	case NETDEV_CHANGEMTU:
 	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.
 		 * LCP re-negotiation.
 		 */
 		 */