Page MenuHomeFreeBSD

netlink: fix casts
ClosedPublic

Authored by kp on Feb 26 2024, 6:46 PM.
Tags
None
Referenced Files
F87309944: D44088.id135184.diff
Mon, Jul 1, 3:06 PM
F87307649: D44088.id135020.diff
Mon, Jul 1, 2:19 PM
Unknown Object (File)
Sat, Jun 29, 12:17 PM
Unknown Object (File)
Sun, Jun 23, 4:21 PM
Unknown Object (File)
May 27 2024, 8:14 PM
Unknown Object (File)
May 22 2024, 3:44 PM
Unknown Object (File)
May 22 2024, 6:33 AM
Unknown Object (File)
May 22 2024, 3:23 AM

Details

Summary

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 56250
Build 53138: arc lint + arc unit

Event Timeline

kp requested review of this revision.Feb 26 2024, 6:46 PM
This revision is now accepted and ready to land.Feb 26 2024, 7:24 PM

Will this be MFCed to stable branches ? I see sys/netlink/route/nexthop.c is consuming the fixed function nlattr_get_uint8():

sys/netlink/route/nexthop.c:	{ .type = NHAF_FAMILY, .off = _OUT(nhaf_family), .cb = nlattr_get_uint8 },

Will this be MFCed to stable branches ? I see sys/netlink/route/nexthop.c is consuming the fixed function nlattr_get_uint8():

sys/netlink/route/nexthop.c:	{ .type = NHAF_FAMILY, .off = _OUT(nhaf_family), .cb = nlattr_get_uint8 },

We probably should, although as far as I know this doesn't actually break anything. It's just something that caught my eye as I was looking at this code.

This revision was automatically updated to reflect the committed changes.