tipc: purge links when bearer is disabled
If a bearer is disabled by manual intervention, all links over that bearer should be purged, indicated with the 'shutting_down' flag. Otherwise tipc will get confused if a new bearer is enabled using a different media type. Signed-off-by: Erik Hugne <erik.hugne@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7fe8097cef
commit
afaa3f65f6
1 changed files with 1 additions and 1 deletions
|
@ -742,7 +742,7 @@ int tipc_nl_bearer_disable(struct sk_buff *skb, struct genl_info *info)
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
bearer_disable(net, bearer, false);
|
||||
bearer_disable(net, bearer, true);
|
||||
rtnl_unlock();
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue