netfilter: nfnetlink_queue: use proper net namespace to allocate skb
authorGao feng <gaofeng@cn.fujitsu.com>
Mon, 23 Sep 2013 11:20:55 +0000 (19:20 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 1 Oct 2013 10:20:31 +0000 (12:20 +0200)
commit7433268783eda21a04bf963f9992547a848d44a4
treeb712d180d5f98ee23727416cd6902b1f0047f940
parent7c3ad056ef79fd10f5f111c807ccbd9fa9068c7f
netfilter: nfnetlink_queue: use proper net namespace to allocate skb

Use proper net struct to allocate skb, otherwise netlink mmap
will have no effect.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nfnetlink_queue_core.c