[NETFILTER] ctnetlink: Fix oops when no ICMP ID info in message
authorKrzysztof Piotr Oledzki <ole@ans.pl>
Wed, 9 Nov 2005 21:04:08 +0000 (13:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2005 21:04:08 +0000 (13:04 -0800)
commit439a9994bb6ae3c7cab1f0b776bca6bc7aa58a11
treef4d99b79ea24ec2b9c65165d0c4528058cee1f35
parenta856a19a9f3ee14fc0d555470f3af138aeb0245c
[NETFILTER] ctnetlink: Fix oops when no ICMP ID info in message

This patch fixes an userspace triggered oops. If there is no ICMP_ID
info the reference to attr will be NULL.

Signed-off-by: Krzysztof Piotr Oledzki <ole@ans.pl>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_proto_icmp.c