netfilter: xt_hashlimit: dl_seq_stop() fix
commit55e0d7cf279177dfe320f54816320558bc370f24
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 25 Mar 2010 10:00:22 +0000 (25 11:00 +0100)
committerPatrick McHardy <kaber@trash.net>
Thu, 25 Mar 2010 10:00:22 +0000 (25 11:00 +0100)
tree6f8c896e95c4a315409fb8053f2ca075b8b72962
parentef1691504c83ba3eb636c0cfd3ed33f7a6d0b4ee
netfilter: xt_hashlimit: dl_seq_stop() fix

If dl_seq_start() memory allocation fails, we crash later in
dl_seq_stop(), trying to kfree(ERR_PTR(-ENOMEM))

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/xt_hashlimit.c