]> err.no Git - linux-2.6/commit
ipv6: syncookies: free reqsk on xfrm_lookup error
authorFlorian Westphal <fw@strlen.de>
Mon, 4 Aug 2008 01:13:44 +0000 (18:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Aug 2008 01:13:44 +0000 (18:13 -0700)
commit1730554f253deb65fe5112c54b2f898d5318a328
tree7e729db3456bd61fa477fc94e38586c97a3beabb
parentadf044c8778de98dae29c5ce9973b7e43964674f
ipv6: syncookies: free reqsk on xfrm_lookup error

cookie_v6_check() did not call reqsk_free() if xfrm_lookup() fails,
leaking the request sock.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/syncookies.c