[Bug 277618] Fit vaules of RTAX_CC_ALGO and RTAX_FASTOPEN_NO_COOKIE in netlink headers

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 10 Mar 2024 23:53:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277618

            Bug ID: 277618
           Summary: Fit vaules of RTAX_CC_ALGO and RTAX_FASTOPEN_NO_COOKIE
                    in netlink headers
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: standards
          Assignee: standards@FreeBSD.org
          Reporter: zarychtam@plan-b.pwste.edu.pl

Created attachment 249080
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=249080&action=edit
patch with fix

Trying to upgrade our net/bird2 port to BIRD 2.15 version which was released
yesterday I experienced a bummer. After an email exchange with Ondrej
'Santiago' Zajicek (email: santiago@crfreenet.org) he suggested that FreeBSD
code has wrongly enumerated route attributes in Netlink headers and indeed it
was the culprit.
Please fix it to make it consistent with the Linux version[1].

Reported by: Ondrej 'Santiago' Zajicek <santiago@crfreenet.org>

1.
https://github.com/torvalds/linux/blame/master/include/uapi/linux/rtnetlink.h#L461

-- 
You are receiving this mail because:
You are the assignee for the bug.