CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2025/05/27 01:52:49

Modified files:
        sys/kern       : uipc_mbuf2.c 
        sys/netinet    : ip6.h tcp_input.c udp_usrreq.c 
        sys/netinet6   : dest6.c frag6.c icmp6.c ip6_input.c mld6.c 
                         nd6_nbr.c nd6_rtr.c raw_ip6.c route6.c 

Log message:
Convert IP6_EXTHDR_GET() macro to ip6_exthdr_get() inline function.

Make the new function static inline so it can stay in the same
netinet/ip6.h header file.  Returning a void pointer avoids all the
type casts.  Convert the panic("m_pulldown malfunction") to an
kassert and move it into m_pulldown().  Keep the offset and length
parameter int as this type is what m_pulldown() expects.

OK claudio@

Reply via email to