OSDN Git Service

netfilter: nf_tables: remove skb and nlh from context structure
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 9 May 2014 15:14:24 +0000 (17:14 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 19 May 2014 10:06:13 +0000 (12:06 +0200)
commit128ad3322ba5de8fa346203c9931d1fdcab8da87
tree08f7a8875209751e1638601761f29df6ab216137
parent35151d840c60ce82692656c73bf6e5b922247ad2
netfilter: nf_tables: remove skb and nlh from context structure

Instead of caching the original skbuff that contains the netlink
messages, this stores the netlink message sequence number, the
netlink portID and the report flag. This helps to prepare the
introduction of the object release via call_rcu.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c