]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] ctnetlink: check if protoinfo is present
authorHarald Welte <laforge@netfilter.org>
Tue, 15 Nov 2005 12:32:36 +0000 (13:32 +0100)
committerChris Wright <chrisw@osdl.org>
Thu, 24 Nov 2005 22:10:09 +0000 (14:10 -0800)
commit36f73ff25328f8a99c8a30f8a89b27b87440e0d1
tree966c9bb97f0027cb671ef76c27d700abcf000367
parentc28dddc5dd4c34476b937aaff9065cdeb89ad555
[PATCH] 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: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/netfilter/ip_conntrack_proto_tcp.c