[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)
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>

No differences found