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 Kernel
Packages, which is subscribed to linux-bluefield in Ubuntu.
https://bugs.launchpad.net/bugs/1960430

Title:
  IPsec tunnel mode fix inner_ipproto setting in sec_path

Status in linux-bluefield package in Ubuntu:
  New

Bug description:
  * 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.

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to