Add missing decrement of active ratelimit connections.

Reviewed by:	rrs@
MFC after:	1 week
Sponsored by:	Mellanox Technologies // NVIDIA Networking
This commit is contained in:
Hans Petter Selasky 2021-01-26 16:59:42 +01:00
parent 85d8d30f9f
commit 093e723190

View File

@ -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