Re: [PATCH net] drivers: net: Fix *_ipsec_offload_ok(): Use ip_hdr family

2020-09-20 Thread Christian Langrock
Hello David, I saw the status of my patched has been changed to "Changes requested". Can you tell me what can I do to get the patch accepted? Thank you in advance! BR, Christian Am 17.09.20 um 14:27 schrieb Christian Langrock: > Xfrm_dev_offload_ok() is called with the unencrypted SKB. So in

[PATCH net] drivers: net: Fix *_ipsec_offload_ok(): Use ip_hdr family

2020-09-17 Thread Christian Langrock
Xfrm_dev_offload_ok() is called with the unencrypted SKB. So in case of interfamily ipsec traffic (IPv4-in-IPv6 and IPv6 in IPv4) the check assumes the wrong family of the skb (IP family of the state). With this patch the ip header of the SKB is used to determine the family. Signed-off-by: Christi