Re: [PATCH 00/12] flow_dissector: Dissect UDP encapsulation protocols
From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-08-01 16:16:34
From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-08-01 16:16:34
On Wed, 31 Jul 2024 10:23:20 -0700 Tom Herbert wrote:
Add support in flow_dissector for dissecting into UDP encapsulations like VXLAN. __skb_flow_dissect_udp is called for IPPROTO_UDP. The flag FLOW_DISSECTOR_F_PARSE_UDP_ENCAPS enables parsing of UDP encapsulations. If the flag is set when parsing a UDP packet then a socket lookup is performed. The offset of the base network header, either an IPv4 or IPv6 header, is tracked and passed to __skb_flow_dissect_udp so that it can perform the socket lookup. If a socket is found and it's for a UDP encapsulation (encap_type is set in the UDP socket) then a switch is performed on the encap_type value (cases are UDP_ENCAP_* values)
Appears to break build for allmodconfig -- pw-bot: cr