freebsd-src/usr.sbin/arp
Kristof Provost 4f8f43b06e netlink: cope with growing requests
If a request ends up growing beyong the initially allocated space the
netlink functions (such as snl_add_msg_attr_u32()) will allocate a
new buffer. This invalidates the header pointer we can have received
from snl_create_msg_request(). Always use the hdr returned by
snl_finalize_msg().

Reviewed by:	melifaro
MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D42223
2023-10-17 08:47:52 +02:00
..
arp.4 Remove $FreeBSD$: one-line nroff pattern 2023-08-16 11:55:15 -06:00
arp.8 Remove $FreeBSD$: one-line nroff pattern 2023-08-16 11:55:15 -06:00
arp.c arp(8): fix by-interface and by-host filtering when using netlink 2023-09-14 10:14:10 +02:00
arp.h arp(8): fix by-interface and by-host filtering when using netlink 2023-09-14 10:14:10 +02:00
arp_netlink.c netlink: cope with growing requests 2023-10-17 08:47:52 +02:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00