Date: Tue, 26 Jan 2021 17:02:23 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 093e72319089 - main - Add missing decrement of active ratelimit connections. Message-ID: <202101261702.10QH2N4P060645@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=093e7231908908b651b91c68ac03fb697c3a8352 commit 093e7231908908b651b91c68ac03fb697c3a8352 Author: Hans Petter Selasky <hselasky@FreeBSD.org> AuthorDate: 2021-01-26 15:59:42 +0000 Commit: Hans Petter Selasky <hselasky@FreeBSD.org> CommitDate: 2021-01-26 17:00:21 +0000 Add missing decrement of active ratelimit connections. Reviewed by: rrs@ MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking --- sys/netinet/in_pcb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 8232003b3808..59695ee3715d 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -3446,6 +3446,9 @@ in_pcbdetach_txrtlmt(struct inpcb *inp) return; m_snd_tag_rele(mst); +#ifdef INET + counter_u64_add(rate_limit_active, -1); +#endif } int
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101261702.10QH2N4P060645>