git: a14756f5c351 - stable/13 - epair: Fix the RSS build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Mar 2023 15:16:50 UTC
The branch stable/13 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=a14756f5c35114911ad3de1b750c6705bb14b0ac
commit a14756f5c35114911ad3de1b750c6705bb14b0ac
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-03-14 14:57:33 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-03-14 14:57:33 +0000
epair: Fix the RSS build
This is a direct commit to stable/13.
Reported by: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
Fixes: c3bd32f225ec ("epair: Avoid loading m_flags into a short")
---
sys/net/if_epair.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/net/if_epair.c b/sys/net/if_epair.c
index 68b68c11af06..aebcaca0cd2f 100644
--- a/sys/net/if_epair.c
+++ b/sys/net/if_epair.c
@@ -223,7 +223,7 @@ epair_select_queue(struct epair_softc *sc, struct mbuf *m)
break;
}
}
- bucket %= osc->num_queues;
+ bucket %= sc->num_queues;
#else
bucket = 0;
#endif