]> err.no Git - linux-2.6/commit
[NETFILTER]: don't use nested attributes for conntrack_expect
authorHarald Welte <laforge@netfilter.org>
Wed, 10 Aug 2005 03:04:07 +0000 (20:04 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 22:40:09 +0000 (15:40 -0700)
commit1444fc559b01aa5d4fedf4ee4f306a9e9cd56f95
tree03ce8666d82f7c41e2a7410b889fd6b5a4a60c5a
parenta42827b71b87fc9816d2f58626e825b0eb500efe
[NETFILTER]: don't use nested attributes for conntrack_expect

We used to use nested nfattr structures for ip_conntrack_expect.  This is
bogus, since ip_conntrack and ip_conntrack_expect are communicated in
different netlink message types.  both should be encoded at the top level
attributes, no extra nesting required.  This patch addresses the issue.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter/nfnetlink_conntrack.h
net/ipv4/netfilter/ip_conntrack_netlink.c