Commit 12e7db7c authored by Steffen Klassert's avatar Steffen Klassert Committed by Dmitry Shmidt
Browse files

BACKPORT: xfrm: Fix return value check of copy_sec_ctx.



commit 8598112d upstream.

A recent commit added an output_mark. When copying
this output_mark, the return value of copy_sec_ctx
is overwitten without a check. Fix this by copying
the output_mark before the security context.

Fixes: 077fbac4 ("net: xfrm: support setting an output mark.")
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>

Change-Id: I25e9ac6cf79dc8d0ee599bbd23e9d5b5f34a4284
Fixes: Change-Id: I76120fba036e21780ced31ad390faf491ea81e52
       ("BACKPORT: net: xfrm: support setting an output mark.")
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 1df72c9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment