netfilter: nf_nat: fix locking in nf_nat_seq_adjust()
authorPatrick McHardy <kaber@trash.net>
Sun, 28 Jul 2013 20:54:09 +0000 (22:54 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 31 Jul 2013 17:54:24 +0000 (19:54 +0200)
commit0658cdc8f3babb4a441f5a803a0b644fafcbf9ef
tree0f1b27ef787814b8f9124c72ecd658876de1580e
parent02982c27ba1e1bd9f9d4747214e19ca83aa88d0e
netfilter: nf_nat: fix locking in nf_nat_seq_adjust()

nf_nat_seq_adjust() needs to grab nf_nat_seqofs_lock to protect against
concurrent changes to the sequence adjustment data.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_nat_helper.c