]> git.itanic.dy.fi Git - linux-stable/commit
xfrm: move mark and oif flowi decode into common code
authorFlorian Westphal <fw@strlen.de>
Wed, 4 Oct 2023 16:09:52 +0000 (18:09 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 6 Oct 2023 06:33:47 +0000 (08:33 +0200)
commit45f87dd6b309b29541224e8212591abb6d294406
tree95668f081a091e40cbf83523fc424961432a9ff4
parent2b1dc6285c3f6e6fcc9e25bf8cd0ca66f2443697
xfrm: move mark and oif flowi decode into common code

flowi4_oif/flowi6_oif and mark are aliased to flowi_common field, i.e.
all can be used interchangeably.

Instead of duplicating place this in common code.
No functional changes intended.

Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_policy.c