]> git.baikalelectronics.ru Git - kernel.git/commit
xfrm: replay: remove advance indirection
authorFlorian Westphal <fw@strlen.de>
Fri, 18 Jun 2021 13:51:57 +0000 (15:51 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Mon, 21 Jun 2021 07:55:06 +0000 (09:55 +0200)
commit2c58dbbd8765bf038113154cf7610313d9cb7030
tree0cbbcbe650e0e8d6044114ac5497dfd77971a3c0
parent924be8f7c7e859c092b303061184edd9d6af316b
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>
include/net/xfrm.h
net/xfrm/xfrm_input.c
net/xfrm/xfrm_replay.c