xfrm: replay: remove last replay indirection
authorFlorian Westphal <fw@strlen.de>
Fri, 18 Jun 2021 13:52:00 +0000 (15:52 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Mon, 21 Jun 2021 07:55:06 +0000 (09:55 +0200)
commitb5a1d1fe0cbb9d20ba661134a09561af1dc9ebf5
treebe03ccf87d9dd330ca1943007c74019439fdd504
parentadfc2fdbae30d42edebad01d0ea1eed43036f1fe
xfrm: replay: remove last replay indirection

This replaces the overflow indirection with the new xfrm_replay_overflow
helper.  After this, the 'repl' pointer in xfrm_state is no longer
needed and can be removed as well.

xfrm_replay_overflow() is added in two incarnations, one is used
when the kernel is compiled with xfrm hardware offload support enabled,
the other when its disabled.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/net/xfrm.h
net/xfrm/xfrm_output.c
net/xfrm/xfrm_replay.c