projects
/
sdk
/
emulator
/
emulator-kernel.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
|
history
diff --git
a/net/core/lwtunnel.c
b/net/core/lwtunnel.c
index
bb58826
..
5f7fae7
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;
}