freebsd-nq/usr.bin/netstat
Arseny Smalyuk d18b4bec98 netinet6: Fix mbuf leak in NDP
Mbufs leak when manually removing incomplete NDP records with pending packet via ndp -d.
It happens because lltable_drop_entry_queue() rely on `la_numheld`
counter when dropping NDP entries (lles). It turned out NDP code never
increased `la_numheld`, so the actual free never happened.

Fix the issue by introducing unified lltable_append_entry_queue(),
common for both ARP and NDP code, properly addressing packet queue
maintenance.

Reviewed By: melifaro
Differential Revision: https://reviews.freebsd.org/D35365
MFC after:	2 weeks
2022-05-31 21:06:14 +00:00
..
bpf.c
common.c usr.bin/netstat: use roundup2 when rounding up to power of 2. 2021-05-02 09:30:22 -07:00
common.h Introduce scalable route multipath. 2020-10-03 10:47:17 +00:00
if.c
inet6.c netinet6: Fix mbuf leak in NDP 2022-05-31 21:06:14 +00:00
inet.c sockbuf: remove unused mbuf counter and cluster counter 2022-05-27 08:20:17 -07:00
ipsec.c ipsec(4): Fix a few typos in error messages 2022-02-06 13:43:42 +01:00
main.c Extend netstat to display TCP stack and detailed congestion state 2020-10-09 10:07:41 +00:00
Makefile Introduce scalable route multipath. 2020-10-03 10:47:17 +00:00
Makefile.depend
Makefile.depend.options
mbuf.c
mroute6.c
mroute.c ip_mroute: refactor bw_meter API 2021-05-21 06:43:41 +02:00
netgraph.c
netisr.c
netstat.1 sockbuf: remove unused mbuf counter and cluster counter 2022-05-27 08:20:17 -07:00
netstat.h Extend netstat to display TCP stack and detailed congestion state 2020-10-09 10:07:41 +00:00
nhgrp.c Introduce scalable route multipath. 2020-10-03 10:47:17 +00:00
nhops.c netstat: fix nhop prepend printing. 2021-12-26 15:05:10 +00:00
nlist_symbols Fix netstat -rs reporting. 2021-03-31 20:59:10 +00:00
pfkey.c
route.c Fix netstat -rs reporting. 2021-03-31 20:59:10 +00:00
sctp.c
unix.c