projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99d7662
)
lwtunnel: use kfree_skb() instead of vanilla kfree()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Mon, 27 Jul 2015 08:07:47 +0000
(11:07 +0300)
committer
David S. Miller
<davem@davemloft.net>
Mon, 27 Jul 2015 08:24:59 +0000
(
01:24
-0700)
kfree_skb() is correct here.
Fixes:
ffce41962ef6
('lwtunnel: support dst output redirect function')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/lwtunnel.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/lwtunnel.c
b/net/core/lwtunnel.c
index bb58826c708d67680dde4013ebe3cc69d627c141..5f7fae70ef681cea3a2660b94058a5c5e54dc2e6 100644
(file)
--- a/
net/core/lwtunnel.c
+++ b/
net/core/lwtunnel.c
@@
-205,7
+205,7
@@
int __lwtunnel_output(struct sock *sk, struct sk_buff *skb,
return ret;
drop:
- kfree(skb);
+ kfree
_skb
(skb);
return ret;
}