tipc: Minor correction to TIPC module unloading
authorAllan Stephens <allan.stephens@windriver.com>
Thu, 20 Oct 2011 13:48:05 +0000 (09:48 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 27 Dec 2011 16:33:45 +0000 (11:33 -0500)
commit97f1b625d133b44d38b8b55ec2cbe35d7ef94f3a
treef564ae9e89903e750778d390a8c8859f420893d8
parentd47ce2ece33eac5c2b12d52622d1b17fe6a34ce9
tipc: Minor correction to TIPC module unloading

Modifies TIPC's module unloading logic to switch itself into "single
node" mode before starting to terminate networking support. This helps
to ensure that no operations that require TIPC to be in "networking"
mode can initiate once unloading starts.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/net.c