diff options
author | Ulrich Weber <ulrich.weber@gmail.com> | 2020-01-15 14:11:29 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-29 18:45:31 +0300 |
commit | b2e061912c3ec2843e149208fc0160c2bed877cb (patch) | |
tree | d232783cb36019378fecedf1b8800d8578c25b9d /net/core | |
parent | 4e1572b19c64244cac4a8aee395b02a2b819e72d (diff) | |
download | linux-b2e061912c3ec2843e149208fc0160c2bed877cb.tar.xz |
xfrm: support output_mark for offload ESP packets
commit 4e4362d2bf2a49ff44dbbc9585207977ca3d71d0 upstream.
Commit 9b42c1f179a6 ("xfrm: Extend the output_mark") added output_mark
support but missed ESP offload support.
xfrm_smark_get() is not called within xfrm_input() for packets coming
from esp4_gro_receive() or esp6_gro_receive(). Therefore call
xfrm_smark_get() directly within these functions.
Fixes: 9b42c1f179a6 ("xfrm: Extend the output_mark to support input direction and masking.")
Signed-off-by: Ulrich Weber <ulrich.weber@gmail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions