Date: Mon, 14 Jun 2021 14:51:43 GMT From: Andrew Gallatin <gallatin@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: ed5e13cfc268 - main - ktls: Fix interaction with RATELIMIT Message-ID: <202106141451.15EEphoB019619@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by gallatin: URL: https://cgit.FreeBSD.org/src/commit/?id=ed5e13cfc2689049ce415dad5057923bc7214a41 commit ed5e13cfc2689049ce415dad5057923bc7214a41 Author: Andrew Gallatin <gallatin@FreeBSD.org> AuthorDate: 2021-06-14 14:46:13 +0000 Commit: Andrew Gallatin <gallatin@FreeBSD.org> CommitDate: 2021-06-14 14:51:16 +0000 ktls: Fix interaction with RATELIMIT uipc_ktls.c was missing opt_ratelimit.h, so it was never noticing that RATELIMIT was enabled. Once it was enabled, it failed to compile as ktls_modify_txrtlmt() had accrued a compilation error when it was not being compiled in. Sponsored by: Netflix --- sys/kern/uipc_ktls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/uipc_ktls.c b/sys/kern/uipc_ktls.c index b0d7ea8016dd..2ab2ef18446b 100644 --- a/sys/kern/uipc_ktls.c +++ b/sys/kern/uipc_ktls.c @@ -30,6 +30,7 @@ __FBSDID("$FreeBSD$"); #include "opt_inet.h" #include "opt_inet6.h" +#include "opt_ratelimit.h" #include "opt_rss.h" #include <sys/param.h> @@ -1399,7 +1400,6 @@ ktls_modify_txrtlmt(struct ktls_session *tls, uint64_t max_pacing_rate) }; struct m_snd_tag *mst; struct ifnet *ifp; - int error; /* Can't get to the inp, but it should be locked. */ /* INP_LOCK_ASSERT(inp); */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106141451.15EEphoB019619>