Skip to content

Commit 680ba7c

Browse files
committed
pppoe: Must flush connections when MAC address changes too.
Kernel bugzilla: 39252 Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent a07c796 commit 680ba7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/net/pppoe.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,9 @@ static int pppoe_device_event(struct notifier_block *this,
348348

349349
/* Only look at sockets that are using this specific device. */
350350
switch (event) {
351+
case NETDEV_CHANGEADDR:
351352
case NETDEV_CHANGEMTU:
352-
/* A change in mtu is a bad thing, requiring
353+
/* A change in mtu or address is a bad thing, requiring
353354
* LCP re-negotiation.
354355
*/
355356

0 commit comments

Comments
 (0)