netfilter: Add socket pointer to nf_hook_state.
authorDavid Miller <davem@davemloft.net>
Mon, 6 Apr 2015 02:19:00 +0000 (22:19 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Apr 2015 19:25:55 +0000 (15:25 -0400)
commit1c984f8a5df085bcf35364a8a870bd4db4da4ed3
tree14dcad3877bc1bb657a32888d2af007c13b9d856
parent107a9f4dc9211c1f91703d1739d7fd22ac58b332
netfilter: Add socket pointer to nf_hook_state.

It is currently always set to NULL, but nf_queue is adjusted to be
prepared for it being set to a real socket by taking and releasing a
reference to that socket when necessary.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter.h
net/netfilter/nf_queue.c