TARPIT: fix memory leak when tarpit_generic() fails

Currently tarpit_generic() just returns on failure, but this does not
free nskb.

Signed-off-by: Josh Hunt <johunt@akamai.com>
This commit is contained in:
Josh Hunt
2012-08-02 00:07:42 +02:00
committed by Jan Engelhardt
parent 37e3a543a9
commit 4ff5a8fbf6
2 changed files with 3 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ HEAD
====
Fixes:
- length2, SYSRQ, RAWNAT: preinitialize values for ipv6_find_hdr
- TARPIT: fix memory leak when tarpit_generic() fails
v1.45 (2012-07-16)