[NETFILTER]: H.323 conntrack: fix crash with CONFIG_IP_NF_CT_ACCT
authorFaidon Liambotis <paravoid@debian.org>
Wed, 22 Nov 2006 05:46:02 +0000 (21:46 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sat, 25 Nov 2006 23:16:47 +0000 (15:16 -0800)
commit38f7efd52c4f3f0b22c460eadbfe7c42f9ebff82
tree1eedc8441bfbdca3f85c72aff5c599f4af7b447a
parent5d48545e5e88ab7a27ba6a5cb1e8fff617754b61
[NETFILTER]: H.323 conntrack: fix crash with CONFIG_IP_NF_CT_ACCT

H.323 connection tracking code calls ip_ct_refresh_acct() when
processing RCFs and URQs but passes NULL as the skb.
When CONFIG_IP_NF_CT_ACCT is enabled, the connection tracking core tries
to derefence the skb, which results in an obvious panic.
A similar fix was applied on the SIP connection tracking code some time
ago.

Signed-off-by: Faidon Liambotis <paravoid@debian.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_helper_h323.c