]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[NETFILTER] ctnetlink: check if protoinfo is present
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 9 Nov 2005 20:59:41 +0000 (12:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2005 20:59:41 +0000 (12:59 -0800)
commit51df784ed739246a3774b300e5f536e17bec36ed
tree866c76ffab5fa6c19648829f46dfcaee6f314a7d
parenta2506c04322ca266fe2f9bd7d02a67b1972da611
[NETFILTER] ctnetlink: check if protoinfo is present

This fixes an oops triggered from userspace. If we don't pass information
about the private protocol info, the reference to attr will be NULL. This is
likely to happen in update messages.

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_tcp.c