summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorRaed Salem <raeds@nvidia.com>2022-01-03 14:19:29 +0300
committerSteffen Klassert <steffen.klassert@secunet.com>2022-01-05 12:59:35 +0300
commit45a98ef4922def8c679ca7c454403d1957fe70e7 (patch)
tree848b3c400aed5932cedb0c7e91eb71b46e71d642 /include/net
parent68ac0f3810e76a853b5f7b90601a05c3048b8b54 (diff)
downloadlinux-45a98ef4922def8c679ca7c454403d1957fe70e7.tar.xz
net/xfrm: IPsec tunnel mode fix inner_ipproto setting in sec_path
The inner_ipproto saves the inner IP protocol of the plain text packet. This allows vendor's IPsec feature making offload decision at skb's features_check and configuring hardware at ndo_start_xmit, current code implenetation did not handle the case where IPsec is used in tunnel mode. Fix by handling the case when IPsec is used in tunnel mode by reading the protocol of the plain text packet IP protocol. Fixes: fa4535238fb5 ("net/xfrm: Add inner_ipproto into sec_path") Signed-off-by: Raed Salem <raeds@nvidia.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions