diff options
author | Florian Westphal <fw@strlen.de> | 2019-02-21 15:38:29 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-02-27 10:58:21 +0100 |
commit | cc16921351d8ba1eabc1923fd61d4f369fadde56 (patch) | |
tree | 52300f577d4c1f1d32929015915604e5af734e08 /include/net/erspan.h | |
parent | d2c5c103b1337f590b7edf1509a6e294bdf22402 (diff) |
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 'include/net/erspan.h')
0 files changed, 0 insertions, 0 deletions