diff options
Diffstat (limited to 'net/xfrm/xfrm_user.c')
-rw-r--r-- | net/xfrm/xfrm_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index 924a2fefcd94..956cfe0ff7f8 100644 --- a/net/xfrm/xfrm_user.c +++ b/net/xfrm/xfrm_user.c | |||
@@ -1401,7 +1401,7 @@ static int xfrm_get_ae(struct sk_buff *skb, struct nlmsghdr *nlh, | |||
1401 | 1401 | ||
1402 | x = xfrm_state_lookup(&id->daddr, id->spi, id->proto, id->family); | 1402 | x = xfrm_state_lookup(&id->daddr, id->spi, id->proto, id->family); |
1403 | if (x == NULL) { | 1403 | if (x == NULL) { |
1404 | kfree(r_skb); | 1404 | kfree_skb(r_skb); |
1405 | return -ESRCH; | 1405 | return -ESRCH; |
1406 | } | 1406 | } |
1407 | 1407 | ||