提交 680ba7ca 编写于 作者: D David S. Miller

pppoe: Must flush connections when MAC address changes too.

Kernel bugzilla: 39252
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 a07c7964
...@@ -348,8 +348,9 @@ static int pppoe_device_event(struct notifier_block *this, ...@@ -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.
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册