Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fou: Remove IPPROTO_UDPLITE check in gue_err() and gue6_err().

UDP-Lite has been removed, and its error handler is no
longer found in either inet_protos[IPPROTO_UDPLITE] or
inet6_protos[IPPROTO_UDPLITE].

The recursion fixed by the protocol check in gue_err()
and gue6_err() no longer occurs with UDP-Lite.

Let's remove the checks.

Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Joe Damato <joe@dama.to>
Link: https://patch.msgid.link/20260316133127.2646421-1-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Kuniyuki Iwashima and committed by
Jakub Kicinski
e3f741f5 05c1fc56

+2 -4
+1 -2
net/ipv4/fou_core.c
··· 1150 1150 * recursion. Besides, this kind of encapsulation can't even be 1151 1151 * configured currently. Discard this. 1152 1152 */ 1153 - if (guehdr->proto_ctype == IPPROTO_UDP || 1154 - guehdr->proto_ctype == IPPROTO_UDPLITE) 1153 + if (guehdr->proto_ctype == IPPROTO_UDP) 1155 1154 return -EOPNOTSUPP; 1156 1155 1157 1156 skb_set_transport_header(skb, -(int)sizeof(struct icmphdr));
+1 -2
net/ipv6/fou6.c
··· 141 141 * recursion. Besides, this kind of encapsulation can't even be 142 142 * configured currently. Discard this. 143 143 */ 144 - if (guehdr->proto_ctype == IPPROTO_UDP || 145 - guehdr->proto_ctype == IPPROTO_UDPLITE) 144 + if (guehdr->proto_ctype == IPPROTO_UDP) 146 145 return -EOPNOTSUPP; 147 146 148 147 skb_set_transport_header(skb, -(int)sizeof(struct icmp6hdr));