projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipv6: call consume_skb() in frag/reassembly
[firefly-linux-kernel-4.4.55.git]
/
net
/
ipv6
/
ip6_output.c
diff --git
a/net/ipv6/ip6_output.c
b/net/ipv6/ip6_output.c
index b7ca46161cb9b587d02c056f3236ae5725bf21f5..b347062aa8090fa7a0dd7f4d78b82c5bb9078d07 100644
(file)
--- a/
net/ipv6/ip6_output.c
+++ b/
net/ipv6/ip6_output.c
@@
-210,7
+210,7
@@
int ip6_xmit(struct sock *sk, struct sk_buff *skb, struct flowi6 *fl6,
kfree_skb(skb);
return -ENOBUFS;
}
-
kfre
e_skb(skb);
+
consum
e_skb(skb);
skb = skb2;
skb_set_owner_w(skb, sk);
}
@@
-889,7
+889,7
@@
slow_path:
}
IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)),
IPSTATS_MIB_FRAGOKS);
-
kfre
e_skb(skb);
+
consum
e_skb(skb);
return err;
fail: