netfilter: ctnetlink: fix missing locking while changing conntrack from nfqueue
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 14 Aug 2012 10:47:37 +0000 (12:47 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 14 Aug 2012 10:54:45 +0000 (12:54 +0200)
commit68e035c950dbceaf660144bf74054dfdfb6aad15
treeb20a0b6e743bb5a4463f129ceb598c4b0d02f750
parentf22eb25cf5b1157b29ef88c793b71972efc47143
netfilter: ctnetlink: fix missing locking while changing conntrack from nfqueue

Since 9cb017665 netfilter: add glue code to integrate nfnetlink_queue and
ctnetlink, we can modify the conntrack entry via nfnl_queue. However, the
change of the conntrack entry via nfnetlink_queue requires appropriate
locking to avoid concurrent updates.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_netlink.c