Public bug reported:

* Explain the bug(s)
current code implementation did not handle the case where IPsec is used in 
tunnel mode.

* Brief explanation of fixes

As in case of IPsec tunnel mode the skb->encapsulation bit is not set in case 
of non-encapsulated
packet (As TCP and UDP), then inner IP protocol won’t be set, change code 
behavior to do so also in case of IPsec Tunnel mode

* How to test
Need to make sure that the code compiles post this change, run TCP traffic when 
IPSec crypto offload with tunnel mode is configured

* What it could break.
NA, this function adds data to a new field introduced to struct xfrm_offload, 
so if not used it have no effect and it is assigned in stack and used in driver 
so if driver does not used it then no effect.

** Affects: linux-bluefield (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1960430

Title:
  IPsec tunnel mode fix inner_ipproto setting in sec_path

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/1960430/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to