Page MenuHomeFreeBSD

netlink: fix casts
ClosedPublic

Authored by kp on Feb 26 2024, 6:46 PM.
Tags
None
Referenced Files
F170774565: D44088.id.diff
Sun, Sep 6, 1:44 PM
F170755832: D44088.id135184.diff
Sun, Sep 6, 10:44 AM
Unknown Object (File)
Sat, Sep 5, 11:35 PM
Unknown Object (File)
Thu, Sep 3, 5:53 PM
Unknown Object (File)
Wed, Sep 2, 2:02 AM
Unknown Object (File)
Tue, Sep 1, 2:53 PM
Unknown Object (File)
Tue, Sep 1, 2:03 PM
Unknown Object (File)
Sun, Aug 30, 3:33 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.