]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netfilter: ctnetlink: fix crash during expectation creation
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 16 Mar 2009 14:50:51 +0000 (15:50 +0100)
committerPatrick McHardy <kaber@trash.net>
Mon, 16 Mar 2009 14:50:51 +0000 (15:50 +0100)
commit626ba8fbac9156a94a80be46ffd2f2ce9e4e89a0
tree326a726e86a7242e64b1eda51e4b422140b1c0c5
parentb1e93a68ca41e7e73766f95ba32ca05cf9052e15
netfilter: ctnetlink: fix crash during expectation creation

This patch fixes a possible crash due to the missing initialization
of the expectation class when nf_ct_expect_related() is called.

Reported-by: BORBELY Zoltan <bozo@andrews.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_conntrack_netlink.c