mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
RDMA/nes: Turn carrier off on ifdown
This lets the bonding driver to detect when an interface goes down. Signed-off-by: Maciej Sosnowski <[email protected]> Signed-off-by: Chien Tung <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
This commit is contained in:
parent
2932772156
commit
52106bd24c
1 changed files with 1 additions and 0 deletions
|
|
@ -271,6 +271,7 @@ static int nes_netdev_stop(struct net_device *netdev)
|
|||
|
||||
if (netif_msg_ifdown(nesvnic))
|
||||
printk(KERN_INFO PFX "%s: disabling interface\n", netdev->name);
|
||||
netif_carrier_off(netdev);
|
||||
|
||||
/* Disable network packets */
|
||||
napi_disable(&nesvnic->napi);
|
||||
|
|
|
|||
Loading…
Reference in a new issue