[REGRESSION][N][PATCH 0/1] Fix Upstream stable v6.6.122, v6.12.67, v6.12.68

Mehmet Basaran mehmet.basaran at canonical.com
Wed Apr 15 09:40:13 UTC 2026


== Justification ==

Impact:
The upstream stable v6.6.122, v6.12.67, v6.12.68 update included a 
change to __ip6_tnl_rcv() which does not work for kernels <v6.13 
(this might be important if the following is ever picked):

f842901be344 "ip6_tunnel: use skb_vlan_inet_prepare() in __ip6_tnl_rcv()"

Above patch replaces pskb_inet_may_pull() with skb_vlan_inet_prepare().
The problem is that around v6.13 there was

"net: tunnel: make skb_vlan_inet_prepare() return drop reasons"

which changes return values of skb_vlan_inet_prepare(). Before a non
zero return code meant success while after it is the opposite.

Fix:
Instead of pulling another dependency the proposed fix changes usage to
other callers of skb_vlan_inet_prepare() in v6.8 
(bareudp.c/geneve.c/vxlan_core.c).

Testcase:
Running the ubuntu_kselftests_net:net:l2_tos_ttl_inherit.sh fail (timeout)
without the fix. After applying the test passes again.

Mehmet Basaran (1):
  UBUNTU: SAUCE: Fix skb_vlan_inet_prepare() usage

 net/ipv6/ip6_tunnel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.43.0




More information about the kernel-team mailing list