netfilter: nf_queue: relax NFQA_CT attribute check
authorFlorian Westphal <fw@strlen.de>
Mon, 29 Jul 2013 13:41:51 +0000 (15:41 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 31 Jul 2013 14:39:29 +0000 (16:39 +0200)
commit957bec36855f97cc5797fbaaf68b11ac7454df2d
treee0b3806fe420ada3ff8688b84b1e0c058d5e8c87
parent5813a8eb47915e051059562f22ffa521404f6e19
netfilter: nf_queue: relax NFQA_CT attribute check

Allow modifying attributes of the conntrack associated with a packet
without first requesting ct data via CFG_F_CONNTRACK or extra
nfnetlink_conntrack socket.

Also remove unneded rcu_read_lock; the entire function is already
protected by rcu.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nfnetlink_queue_core.c