[NETFILTER]: nf_queue: move list_head/skb/id to struct nf_info
authorPatrick McHardy <kaber@trash.net>
Wed, 5 Dec 2007 09:26:33 +0000 (01:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:14 +0000 (14:56 -0800)
Move common fields for queue management to struct nf_info and rename it
to struct nf_queue_entry. The avoids one allocation/free per packet and
simplifies the code a bit.

Alternatively we could add some private room at the tail, but since
all current users use identical structs this seems easier.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found