diff options
Diffstat (limited to 'net/tipc/discover.c')
| -rw-r--r-- | net/tipc/discover.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/tipc/discover.c b/net/tipc/discover.c index 0987933155b9..f2fb96e86ee8 100644 --- a/net/tipc/discover.c +++ b/net/tipc/discover.c | |||
| @@ -159,12 +159,6 @@ void tipc_disc_recv_msg(struct sk_buff *buf, struct tipc_bearer *b_ptr) | |||
| 159 | } | 159 | } |
| 160 | tipc_node_lock(n_ptr); | 160 | tipc_node_lock(n_ptr); |
| 161 | 161 | ||
| 162 | /* Don't talk to neighbor during cleanup after last session */ | ||
| 163 | if (n_ptr->cleanup_required) { | ||
| 164 | tipc_node_unlock(n_ptr); | ||
| 165 | return; | ||
| 166 | } | ||
| 167 | |||
| 168 | link = n_ptr->links[b_ptr->identity]; | 162 | link = n_ptr->links[b_ptr->identity]; |
| 169 | 163 | ||
| 170 | /* Create a link endpoint for this bearer, if necessary */ | 164 | /* Create a link endpoint for this bearer, if necessary */ |
