<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/netlink, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-05-25T16:37:12Z</updated>
<entry>
<title>netlink: Fix RTM_GETROUTE loop for RT_TABLE_UNSPEC</title>
<updated>2026-05-25T16:37:12Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2026-05-22T14:27:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=33acf0f26b490ea4887d820a3f45c56e3913a17d'/>
<id>urn:sha1:33acf0f26b490ea4887d820a3f45c56e3913a17d</id>
<content type='text'>
Reviewed by: bz, pouria
Fixes: 7e5bf68495cc ("netlink: add netlink support")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57234
</content>
</entry>
<entry>
<title>netlink: Avoid potential undefined behaviour</title>
<updated>2026-05-23T20:59:52Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2026-05-22T14:55:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4d125ed6e7d445d574c11dc35c40ec3013559806'/>
<id>urn:sha1:4d125ed6e7d445d574c11dc35c40ec3013559806</id>
<content type='text'>
Taking the address of an OOB array element is UB, even if not
dereferenced.

Reviewed by: des, bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57172
</content>
</entry>
<entry>
<title>netlink: Check for NULL return from npt_alloc()</title>
<updated>2026-05-23T16:22:36Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2026-05-22T14:41:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1dbc104148845434575d1931d47876ae0ca1542f'/>
<id>urn:sha1:1dbc104148845434575d1931d47876ae0ca1542f</id>
<content type='text'>
Reviewed by: glebius, pouria
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57171
</content>
</entry>
<entry>
<title>netlink: Fix interface type match</title>
<updated>2026-05-22T18:34:13Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2026-05-22T13:35:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=eff5f220c379d4173fdc0e5ec00380888bf7649a'/>
<id>urn:sha1:eff5f220c379d4173fdc0e5ec00380888bf7649a</id>
<content type='text'>
Reviewed by: bz, glebius, pouria
Fixes: 7e5bf68495cc ("netlink: add netlink support")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57167
</content>
</entry>
<entry>
<title>netlink: Avoid undefined behaviour</title>
<updated>2026-05-22T14:21:11Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2026-05-22T00:50:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1a4ad649cb135501f0bee56a4214e8c904ca402e'/>
<id>urn:sha1:1a4ad649cb135501f0bee56a4214e8c904ca402e</id>
<content type='text'>
Even though it is not dereferenced, it is UB to take the address of an
out of bounds array element.

Reviewed by: pouria, bz, des, adrian
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57158
</content>
</entry>
<entry>
<title>netlink: Fix lock leak in nl_find_nhop</title>
<updated>2026-05-22T00:38:45Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2026-05-21T21:14:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d66fec481bfd65cbabb6c12a410d76843e76083e'/>
<id>urn:sha1:d66fec481bfd65cbabb6c12a410d76843e76083e</id>
<content type='text'>
Reviewed by: bz, pouria
Fixes: 7e5bf68495cc ("netlink: add netlink support")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57156
</content>
</entry>
<entry>
<title>netlink: Add RTA_PRIORITY support (metric)</title>
<updated>2026-05-20T20:55:03Z</updated>
<author>
<name>Pouria Mousavizadeh Tehrani</name>
<email>pouria@FreeBSD.org</email>
</author>
<published>2026-05-02T20:58:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=73acfc5863489f0d7ed671d5529eea4c05ec40e6'/>
<id>urn:sha1:73acfc5863489f0d7ed671d5529eea4c05ec40e6</id>
<content type='text'>
* Use our new 32-bit metric for RTA_PRIORITY support.
* Update snl library for new RTA_PRIORITY support.
* return RTA_PRIORITY for both MPATH and non-MPATH routes.

Reviewed by:	glebius (previous version)
Discussed with:	markj
Differential Revision: https://reviews.freebsd.org/D56323
</content>
</entry>
<entry>
<title>netlink: fix unsigned overflow on a truncated message</title>
<updated>2026-05-20T14:27:52Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2026-05-20T14:27:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e924a2c80b9e1ace68d8ca0ffdacec65feec90a3'/>
<id>urn:sha1:e924a2c80b9e1ace68d8ca0ffdacec65feec90a3</id>
<content type='text'>
PR:			295106
Submitted by:		Robert Morris &lt;rtm@lcs.mit.edu&gt;
Reviewed by:		pouria, melifaro
Differential Revision:	https://reviews.freebsd.org/D56916
</content>
</entry>
<entry>
<title>netlink: factor out compatibility code from inlined function</title>
<updated>2026-05-20T14:27:39Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2026-05-20T14:27:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e145afc9eb9187be7e7cfdd42043cefc07b6e8d6'/>
<id>urn:sha1:e145afc9eb9187be7e7cfdd42043cefc07b6e8d6</id>
<content type='text'>
This is a refactor of 228c632ab3f62.  First, move compatibility one level
up, where we yet work with the full header.  Second, move this rarely
executed code outside of the inline function.  Should be no functional
change.

Reviewed by:		pouria, melifaro
Differential Revision:	https://reviews.freebsd.org/D56915
</content>
</entry>
<entry>
<title>rtnetlink: Align RTA_MULTIPATH length validation in nlattr_get</title>
<updated>2026-05-13T09:44:28Z</updated>
<author>
<name>Pouria Mousavizadeh Tehrani</name>
<email>pouria@FreeBSD.org</email>
</author>
<published>2026-05-12T11:34:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4329663a861ef74796b79b6b0872cfe10d31c591'/>
<id>urn:sha1:4329663a861ef74796b79b6b0872cfe10d31c591</id>
<content type='text'>
Fix length validation of RTA_MULTIPATH attributes in
nlattr_get_multipath() by making sure the user request is align.

PR:		295102
Reported by:	Robert Morris &lt;rtm@lcs.mit.edu&gt;
Reviewed by:	markj
Fixes:		7e5bf68495cc ("netlink: add netlink support")
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D56963
</content>
</entry>
</feed>
