]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netfilter: nf_log regression fix
authorEric Dumazet <dada1@cosmosbay.com>
Wed, 15 Apr 2009 10:16:19 +0000 (12:16 +0200)
committerPatrick McHardy <kaber@trash.net>
Wed, 15 Apr 2009 10:16:19 +0000 (12:16 +0200)
commitb6f0a3652ea9d2296fdc98c3b2c96603be611c4d
tree336629eb6d6219133ee9cca312c16a6e66bb5fa0
parent83731671d9e6878c0a05d309c68fb71c16d3235a
netfilter: nf_log regression fix

commit ca735b3aaa945626ba65a3e51145bfe4ecd9e222
'netfilter: use a linked list of loggers'
introduced an array of list_head in "struct nf_logger", but
forgot to initialize it in nf_log_register(). This resulted
in oops when calling nf_log_unregister() at module unload time.

Reported-and-tested-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Acked-by: Eric Leblond <eric@inl.fr>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_log.c