aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/node.c')
-rw-r--r--net/tipc/node.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c
index 1790f503f57b..24c42f7568ac 100644
--- a/net/tipc/node.c
+++ b/net/tipc/node.c
@@ -353,12 +353,12 @@ static void node_lost_contact(struct tipc_node *n_ptr)
353 while (n_ptr->bclink.deferred_head) { 353 while (n_ptr->bclink.deferred_head) {
354 struct sk_buff *buf = n_ptr->bclink.deferred_head; 354 struct sk_buff *buf = n_ptr->bclink.deferred_head;
355 n_ptr->bclink.deferred_head = buf->next; 355 n_ptr->bclink.deferred_head = buf->next;
356 buf_discard(buf); 356 kfree_skb(buf);
357 } 357 }
358 n_ptr->bclink.deferred_size = 0; 358 n_ptr->bclink.deferred_size = 0;
359 359
360 if (n_ptr->bclink.defragm) { 360 if (n_ptr->bclink.defragm) {
361 buf_discard(n_ptr->bclink.defragm); 361 kfree_skb(n_ptr->bclink.defragm);
362 n_ptr->bclink.defragm = NULL; 362 n_ptr->bclink.defragm = NULL;
363 } 363 }
364 364