summaryrefslogtreecommitdiff
path: root/net/xfrm/xfrm_hash.c
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2017-08-31 10:37:00 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2017-08-31 10:37:00 +0200
commit8598112d04af21cf6c895670e72dcb8a9f58e74f (patch)
treec6b511f110886721df58d8c520fb813485caa24e /net/xfrm/xfrm_hash.c
parent47ebcc0bb1d5eb7f1b1eeab675409ea7f67b4a5c (diff)
xfrm: Fix return value check of copy_sec_ctx.
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: 077fbac405bf ("net: xfrm: support setting an output mark.") Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm/xfrm_hash.c')
0 files changed, 0 insertions, 0 deletions