Skip to content

Commit

Permalink
pppoe: Must flush connections when MAC address changes too.
Browse files Browse the repository at this point in the history
Kernel bugzilla: 39252

Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
davem330 committed Jul 18, 2011
1 parent a07c796 commit 680ba7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/pppoe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/

Expand Down

0 comments on commit 680ba7c

Please sign in to comment.