diff options
| author | Andrew Gallatin <gallatin@FreeBSD.org> | 2025-11-24 15:36:32 +0000 |
|---|---|---|
| committer | Andrew Gallatin <gallatin@FreeBSD.org> | 2025-11-24 15:36:41 +0000 |
| commit | 2fe37927d41990abe8d1c336e75fd75873285e90 (patch) | |
| tree | a18af385ac6f96f617ec03525f77ed71914afaac | |
| parent | b0c7eaf83d21bbc333e247ab9e136965b3ca54ed (diff) | |
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
| -rw-r--r-- | sys/net/if_loop.c | 2 |
1 files changed, 0 insertions, 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) |
