aboutsummaryrefslogtreecommitdiffstats
path: root/net/ax25/ax25_route.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ax25/ax25_route.c')
-rw-r--r--net/ax25/ax25_route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ax25/ax25_route.c b/net/ax25/ax25_route.c
index a65588040b9e..d39097737e38 100644
--- a/net/ax25/ax25_route.c
+++ b/net/ax25/ax25_route.c
@@ -474,7 +474,7 @@ struct sk_buff *ax25_rt_build_path(struct sk_buff *skb, ax25_address *src,
474 if (skb->sk != NULL) 474 if (skb->sk != NULL)
475 skb_set_owner_w(skbn, skb->sk); 475 skb_set_owner_w(skbn, skb->sk);
476 476
477 kfree_skb(skb); 477 consume_skb(skb);
478 478
479 skb = skbn; 479 skb = skbn;
480 } 480 }