git: 8a299958c1b5 - main - if_epair: fix build with RSS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Oct 2022 15:28:52 UTC
The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=8a299958c1b5889fd13623ed4017916ffb30a7e1 commit 8a299958c1b5889fd13623ed4017916ffb30a7e1 Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2022-10-03 15:02:55 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2022-10-03 15:02:55 +0000 if_epair: fix build with RSS Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/net/if_epair.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/net/if_epair.c b/sys/net/if_epair.c index 04b96ea49ec7..cbe75de52c0f 100644 --- a/sys/net/if_epair.c +++ b/sys/net/if_epair.c @@ -185,11 +185,12 @@ epair_tx_start_deferred(void *arg, int pending) } static struct epair_queue * -epair_select_queue(struct epair_softc *sc, const struct mbuf *m) +epair_select_queue(struct epair_softc *sc, struct mbuf *m) { uint32_t bucket; #ifdef RSS struct ether_header *eh; + int ret; ret = rss_m2bucket(m, &bucket); if (ret) {