diff options
author | Florian Westphal <fw@strlen.de> | 2021-06-18 15:51:57 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2021-06-21 09:55:06 +0200 |
commit | c7f877833c9f361be8e88d6b140d8314e80892aa (patch) | |
tree | 0cbbcbe650e0e8d6044114ac5497dfd77971a3c0 /net/xfrm/xfrm_input.c | |
parent | cfc61c598e43772cc4f76b8fc40c5ec70675716b (diff) | |
download | linux-c7f877833c9f361be8e88d6b140d8314e80892aa.tar.bz2 |
xfrm: replay: remove advance indirection
Similar to other patches: add a new helper to avoid
an indirection.
v2: fix 'net/xfrm/xfrm_replay.c:519:13: warning: 'seq' may be used
uninitialized in this function' warning.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm/xfrm_input.c')
-rw-r--r-- | net/xfrm/xfrm_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_input.c b/net/xfrm/xfrm_input.c index 1158cd0311d7..c8971e4b33ab 100644 --- a/net/xfrm/xfrm_input.c +++ b/net/xfrm/xfrm_input.c @@ -665,7 +665,7 @@ resume: goto drop_unlock; } - x->repl->advance(x, seq); + xfrm_replay_advance(x, seq); x->curlft.bytes += skb->len; x->curlft.packets++; |