Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src/sys/netinet6



Module Name:    src
Committed By:   martin
Date:           Wed Sep 11 16:15:08 UTC 2024

Modified Files:
        src/sys/netinet6 [netbsd-10]: ip6_output.c

Log Message:
Pull up following revision(s) (requested by rin in ticket #826):

        sys/netinet6/ip6_output.c: revision 1.235

ip6_output: Initialize plen for ip6_hopopts_input.

This funny little block in ip6_process_hopopts assumes it is
initialized as and behaves differently depending on whether it's zero
or not:
https://nxr.netbsd.org/xref/src/sys/netinet6/ip6_input.c?r=1.227#976

In the other call site, it is initialized to ip6->ip6_plen:
https://nxr.netbsd.org/xref/src/sys/netinet6/ip6_input.c?r=1.227#561


To generate a diff of this commit:
cvs rdiff -u -r1.231.2.3 -r1.231.2.4 src/sys/netinet6/ip6_output.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index