Message ID | 20240823201557.1794985-14-tom@herbertland.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | flow_dissector: Dissect UDP encapsulation protocols | expand |
diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c index ae56de7d420a..6f50cbb39539 100644 --- a/net/core/flow_dissector.c +++ b/net/core/flow_dissector.c @@ -1993,6 +1993,9 @@ bool __skb_flow_dissect(const struct net *net, fdret = FLOW_DISSECT_RET_OUT_GOOD; break; } + case NEXTHDR_NONE: + fdret = FLOW_DISSECT_RET_OUT_GOOD; + break; case IPPROTO_IPIP: if (flags & FLOW_DISSECTOR_F_STOP_BEFORE_ENCAP) { fdret = FLOW_DISSECT_RET_OUT_GOOD;
Protocol number 59 (no-next-header) means nothing follows the IP header, break out of the flow dissector loop on FLOW_DISSECT_RET_OUT_GOOD when encountered in a packet Signed-off-by: Tom Herbert <tom@herbertland.com> --- net/core/flow_dissector.c | 3 +++ 1 file changed, 3 insertions(+)