]> git.karo-electronics.de Git - linux-beck.git/commit
tipc: purge links when bearer is disabled
authorErik Hugne <erik.hugne@ericsson.com>
Fri, 27 Feb 2015 07:56:56 +0000 (08:56 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Feb 2015 23:18:47 +0000 (18:18 -0500)
commitafaa3f65f65fda2e7b190aac7e2a75d9a2a77cb6
tree2d792c0fad27dffeee89fdafe4c0af7af08bfc1c
parent7fe8097cef5ff4ba1c7ced42bda97830ce00eec6
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>
net/tipc/bearer.c