UPSTREAM: xfrm: fix XFRMA_OUTPUT_MARK policy entry
authorMichal Kubecek <mkubecek@suse.cz>
Wed, 29 Nov 2017 17:23:56 +0000 (18:23 +0100)
committerlingsen1 <lingsen1@lenovo.com>
Sun, 7 Feb 2021 09:37:05 +0000 (17:37 +0800)
commitbe755dcb6a4114a471c1dc0b0707384f951516a2
tree5094842476bd47bd82683a6c04696a717f4ca699
parent8d2dfe869590e8a96f037a08681b684190703a74
UPSTREAM: xfrm: fix XFRMA_OUTPUT_MARK policy entry

This seems to be an obvious typo, NLA_U32 is type of the attribute, not its
(minimal) length.

Fixes: 077fbac405bf ("net: xfrm: support setting an output mark.")
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
(cherry picked from commit e719135881f00c01ca400abb8a5dadaf297a24f9)
Signed-off-by: Benedict Wong <benedictwong@google.com>
Bug: 113046120
Change-Id: I4c1a8de03febfa246b99c7eb67d77f74a1e3ba93
net/xfrm/xfrm_user.c