diff options
Diffstat (limited to 'net/tipc/node.c')
-rw-r--r-- | net/tipc/node.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c index 25100c0a6fe8..bf1ac89b4806 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c | |||
@@ -291,11 +291,7 @@ static void node_lost_contact(struct tipc_node *n_ptr) | |||
291 | 291 | ||
292 | /* Flush broadcast link info associated with lost node */ | 292 | /* Flush broadcast link info associated with lost node */ |
293 | if (n_ptr->bclink.recv_permitted) { | 293 | if (n_ptr->bclink.recv_permitted) { |
294 | while (n_ptr->bclink.deferred_head) { | 294 | kfree_skb_list(n_ptr->bclink.deferred_head); |
295 | struct sk_buff *buf = n_ptr->bclink.deferred_head; | ||
296 | n_ptr->bclink.deferred_head = buf->next; | ||
297 | kfree_skb(buf); | ||
298 | } | ||
299 | n_ptr->bclink.deferred_size = 0; | 295 | n_ptr->bclink.deferred_size = 0; |
300 | 296 | ||
301 | if (n_ptr->bclink.reasm_head) { | 297 | if (n_ptr->bclink.reasm_head) { |