diff options
Diffstat (limited to 'net/tipc/node.c')
-rw-r--r-- | net/tipc/node.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c index facd5611e785..5b44c3041be4 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c | |||
@@ -286,10 +286,9 @@ static void node_lost_contact(struct tipc_node *n_ptr) | |||
286 | kfree_skb_list(n_ptr->bclink.deferred_head); | 286 | kfree_skb_list(n_ptr->bclink.deferred_head); |
287 | n_ptr->bclink.deferred_size = 0; | 287 | n_ptr->bclink.deferred_size = 0; |
288 | 288 | ||
289 | if (n_ptr->bclink.reasm_head) { | 289 | if (n_ptr->bclink.reasm_buf) { |
290 | kfree_skb(n_ptr->bclink.reasm_head); | 290 | kfree_skb(n_ptr->bclink.reasm_buf); |
291 | n_ptr->bclink.reasm_head = NULL; | 291 | n_ptr->bclink.reasm_buf = NULL; |
292 | n_ptr->bclink.reasm_tail = NULL; | ||
293 | } | 292 | } |
294 | 293 | ||
295 | tipc_bclink_remove_node(n_ptr->addr); | 294 | tipc_bclink_remove_node(n_ptr->addr); |