The branch releng/13.0 has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=8cb8d8d998792e9c89516904f4951a060a9f2a49
commit 8cb8d8d998792e9c89516904f4951a060a9f2a49 Author: Hans Petter Selasky <[email protected]> AuthorDate: 2021-01-26 15:59:42 +0000 Commit: Hans Petter Selasky <[email protected]> CommitDate: 2021-02-08 15:08:42 +0000 MFC 093e72319089: Add missing decrement of active ratelimit connections. Approved by: re (gjb) Reviewed by: rrs@ Sponsored by: Mellanox Technologies // NVIDIA Networking (cherry picked from commit 093e7231908908b651b91c68ac03fb697c3a8352) --- 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 _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "[email protected]"
