[NETFILTER]: attribute count is an attribute of message type, not subsytem
authorHarald Welte <laforge@netfilter.org>
Wed, 10 Aug 2005 03:03:40 +0000 (20:03 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 22:39:14 +0000 (15:39 -0700)
commit927ccbcc28dceee29dad876982768cca29738564
treea5bc50c92c1627e373e3cf9efbaec5c1d3f1b2b7
parentbd9a26b7f2ee7567571bb5b7acc1a256c544a0dd
[NETFILTER]: attribute count is an attribute of message type, not subsytem

Prior to this patch, every nfnetlink subsystem had to specify it's
attribute count.  However, in reality the attribute count depends on
the message type within the subsystem, not the subsystem itself.  This
patch moves 'attr_count' from 'struct nfnetlink_subsys' into
nfnl_callback to fix this.

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