From: David S. Miller Date: Mon, 18 Jul 2011 18:48:28 +0000 (-0700) Subject: pppoe: Must flush connections when MAC address changes too. X-Git-Tag: v3.12-rc1~5362^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=680ba7ca630f5816af9c80a946520be76b2167a5;p=kernel%2Fkernel-generic.git pppoe: Must flush connections when MAC address changes too. Kernel bugzilla: 39252 Signed-off-by: David S. Miller --- diff --git a/drivers/net/pppoe.c b/drivers/net/pppoe.c index 718879b..bc9a4bb 100644 --- a/drivers/net/pppoe.c +++ b/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. */