]> err.no Git - linux-2.6/commit
netfilter: nf_conntrack_gre: nf_ct_gre_keymap_flush() fixlet
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 8 Sep 2008 01:20:36 +0000 (18:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Sep 2008 01:20:36 +0000 (18:20 -0700)
commit51807e91a76a531d059ec7ce3395c435e4df52a8
treea2d88b7df0e16e627c8771b072decdc9e1c43c33
parent887464a41fde7e9e1e11ca86748338033c502446
netfilter: nf_conntrack_gre: nf_ct_gre_keymap_flush() fixlet

It does "kfree(list_head)" which looks wrong because entity that was
allocated is definitely not list_head.

However, this all works because list_head is first item in
struct nf_ct_gre_keymap.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_conntrack_proto_gre.c