The branch main has been updated by gallatin:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=2fe37927d41990abe8d1c336e75fd75873285e90

commit 2fe37927d41990abe8d1c336e75fd75873285e90
Author:     Andrew Gallatin <[email protected]>
AuthorDate: 2025-11-24 15:36:32 +0000
Commit:     Andrew Gallatin <[email protected]>
CommitDate: 2025-11-24 15:36:41 +0000

    loopback: Clear hash unconditionally.
    
    Clear the RSS hash on transmit, now that RSS hashing is enabled
    unconditionally, and the network stack may want to trust that
    it is getting the correct hash on input.
    
    Differential Revision:  https://reviews.freebsd.org/D53090
    Reviewed by: zlei
    Sponsored by: Netflix
---
 sys/net/if_loop.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c
index 3005965a4fcb..ec0ff0e77aa6 100644
--- a/sys/net/if_loop.c
+++ b/sys/net/if_loop.c
@@ -219,9 +219,7 @@ looutput(struct ifnet *ifp, struct mbuf *m, const struct 
sockaddr *dst,
        if_inc_counter(ifp, IFCOUNTER_OPACKETS, 1);
        if_inc_counter(ifp, IFCOUNTER_OBYTES, m->m_pkthdr.len);
 
-#ifdef RSS
        M_HASHTYPE_CLEAR(m);
-#endif
 
        /* BPF writes need to be handled specially. */
        if (dst->sa_family == AF_UNSPEC || dst->sa_family == pseudo_AF_HDRCMPLT)

Reply via email to