diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-07-27 11:07:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-27 01:24:59 -0700 |
commit | e11f40b9352f75d924cb216abcc5413b38d9288b (patch) | |
tree | 1ef48bbc34cafae34c2e19a54deca40acfca16db /net | |
parent | 99d7662a04c4f9822b042f22ae37f8c7355c2d5a (diff) |
lwtunnel: use kfree_skb() instead of vanilla kfree()
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/lwtunnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/lwtunnel.c b/net/core/lwtunnel.c index bb58826c708d..5f7fae70ef68 100644 --- 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; } |