Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 680ba7ca authored by David S. Miller's avatar David S. Miller
Browse files

pppoe: Must flush connections when MAC address changes too.



Kernel bugzilla: 39252

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a07c7964
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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.
		 */