summaryrefslogtreecommitdiff
path: root/net/netfilter/nft_set_hash.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-02-21 17:38:29 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2019-02-27 12:58:21 +0300
commitcc16921351d8ba1eabc1923fd61d4f369fadde56 (patch)
tree52300f577d4c1f1d32929015915604e5af734e08 /net/netfilter/nft_set_hash.c
parentd2c5c103b1337f590b7edf1509a6e294bdf22402 (diff)
downloadlinux-cc16921351d8ba1eabc1923fd61d4f369fadde56.tar.xz
netfilter: conntrack: avoid same-timeout update
No need to dirty a cache line if timeout is unchanged. Also, WARN() is useless here: we crash on 'skb->len' access if skb is NULL. Last, ct->timeout is u32, not 'unsigned long' so adapt the function prototype accordingly. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nft_set_hash.c')
0 files changed, 0 insertions, 0 deletions