]> git.baikalelectronics.ru Git - kernel.git/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)
commitbcb3e6a2409797ce55de1e4a06732d31bd409cbe
treea2d88b7df0e16e627c8771b072decdc9e1c43c33
parent46464e801675c3af10abcfaaa9acf1d03486c57e
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