xfrm: clone XFRMA_SET_MARK in xfrm_do_migrate
authorAntony Antony <antony.antony@secunet.com>
Fri, 4 Sep 2020 06:49:38 +0000 (08:49 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Mon, 7 Sep 2020 10:45:22 +0000 (12:45 +0200)
commit545e5c571662b1cd79d9588f9d3b6e36985b8007
treeb207da7d5ff1ce9eb07eafd51415068fdfdfb2a2
parent45a36a18d01907710bad5258d81f76c18882ad88
xfrm: clone XFRMA_SET_MARK in xfrm_do_migrate

XFRMA_SET_MARK and XFRMA_SET_MARK_MASK was not cloned from the old
to the new. Migrate these two attributes during XFRMA_MSG_MIGRATE

Fixes: 9b42c1f179a6 ("xfrm: Extend the output_mark to support input direction and masking.")
Signed-off-by: Antony Antony <antony.antony@secunet.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_state.c