summaryrefslogtreecommitdiff
path: root/net/netfilter/xt_HMARK.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2020-08-26 00:52:45 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2020-08-28 19:51:27 +0200
commitff73e7479b8eea594a985ca29f4b45d604dbcb2c (patch)
tree8f68c885e6451f2343317f853cdb13da83d5ee82 /net/netfilter/xt_HMARK.c
parentbc92470413f3af152db0d8f90ef3eb13f8cc417a (diff)
downloadlinux-ff73e7479b8eea594a985ca29f4b45d604dbcb2c.tar.gz
linux-ff73e7479b8eea594a985ca29f4b45d604dbcb2c.tar.bz2
linux-ff73e7479b8eea594a985ca29f4b45d604dbcb2c.zip
netfilter: conntrack: remove unneeded nf_ct_put
We can delay refcount increment until we reassign the existing entry to the current skb. A 0 refcount can't happen while the nf_conn object is still in the hash table and parallel mutations are impossible because we hold the bucket lock. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/xt_HMARK.c')
0 files changed, 0 insertions, 0 deletions