summaryrefslogtreecommitdiff
path: root/fs/logfs/dev_mtd.c
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2017-08-31 10:37:00 +0200
committerDmitry Shmidt <dimitrysh@google.com>2018-02-15 18:59:15 +0000
commit55a36659621564511040e8e27391219a9117565d (patch)
tree9889e28e94aafb832a45e61b1ad37b58e3806a88 /fs/logfs/dev_mtd.c
parent5e56f242721e98a18abc2436561a0e7ce44b4c85 (diff)
BACKPORT: xfrm: Fix return value check of copy_sec_ctx.
commit 8598112d04af21cf6c895670e72dcb8a9f58e74f 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: 077fbac405bf ("net: xfrm: support setting an output mark.") Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Change-Id: I25e9ac6cf79dc8d0ee599bbd23e9d5b5f34a4284 Fixes: Change-Id: I76120fba036e21780ced31ad390faf491ea81e52 ("BACKPORT: net: xfrm: support setting an output mark.") Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'fs/logfs/dev_mtd.c')
0 files changed, 0 insertions, 0 deletions