The branch main has been updated by pouria: URL: https://cgit.FreeBSD.org/src/commit/?id=91f84e661c2377d2265a04c05aabdf51a98cd5c0
commit 91f84e661c2377d2265a04c05aabdf51a98cd5c0 Author: Pouria Mousavizadeh Tehrani <[email protected]> AuthorDate: 2026-07-22 17:00:17 +0000 Commit: Pouria Mousavizadeh Tehrani <[email protected]> CommitDate: 2026-07-22 17:02:48 +0000 if_geneve: Ensure there is no mbuf leak if EAFNOSUPPORT In practice, this is not possible, but we are adding it just to be safe. Reported by: markj --- sys/net/if_geneve.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/net/if_geneve.c b/sys/net/if_geneve.c index 04873f0b7964..a8947bf4bd52 100644 --- a/sys/net/if_geneve.c +++ b/sys/net/if_geneve.c @@ -2841,6 +2841,7 @@ geneve_transmit(struct ifnet *ifp, struct mbuf *m) break; #endif default: + m_freem(m); error = EAFNOSUPPORT; }
