diff options
Diffstat (limited to 'net/ipv4/ip_output.c')
-rw-r--r-- | net/ipv4/ip_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index 451f97c42eb4..b99ca4e154b9 100644 --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c | |||
@@ -200,7 +200,7 @@ static inline int ip_finish_output2(struct sk_buff *skb) | |||
200 | } | 200 | } |
201 | if (skb->sk) | 201 | if (skb->sk) |
202 | skb_set_owner_w(skb2, skb->sk); | 202 | skb_set_owner_w(skb2, skb->sk); |
203 | kfree_skb(skb); | 203 | consume_skb(skb); |
204 | skb = skb2; | 204 | skb = skb2; |
205 | } | 205 | } |
206 | 206 | ||
@@ -709,7 +709,7 @@ slow_path: | |||
709 | 709 | ||
710 | IP_INC_STATS(dev_net(dev), IPSTATS_MIB_FRAGCREATES); | 710 | IP_INC_STATS(dev_net(dev), IPSTATS_MIB_FRAGCREATES); |
711 | } | 711 | } |
712 | kfree_skb(skb); | 712 | consume_skb(skb); |
713 | IP_INC_STATS(dev_net(dev), IPSTATS_MIB_FRAGOKS); | 713 | IP_INC_STATS(dev_net(dev), IPSTATS_MIB_FRAGOKS); |
714 | return err; | 714 | return err; |
715 | 715 | ||