commit | cc16921351d8ba1eabc1923fd61d4f369fadde56 | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Thu Feb 21 15:38:29 2019 +0100 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Wed Feb 27 10:58:21 2019 +0100 |
tree | 52300f577d4c1f1d32929015915604e5af734e08 | |
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>