]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: xt_hashlimit: dl_seq_stop() fix
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 25 Mar 2010 10:00:22 +0000 (11:00 +0100)
committerPatrick McHardy <kaber@trash.net>
Thu, 25 Mar 2010 10:00:22 +0000 (11:00 +0100)
commit7c0e8da613f7f8d9496a8746859b3eaf926a93a6
tree6f8c896e95c4a315409fb8053f2ca075b8b72962
parente97f74baeec20af1010c31a9c54aa21a33a3815e
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