Source-Changes archive

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

CVS commit: src/sys/netinet6

Module Name:    src
Committed By:   maxv
Date:           Tue Jan 23 15:13:56 UTC 2018

Modified Files:
        src/sys/netinet6: dest6.c

Log Message:
Fix the calculation of the ICMP6 error pointer. It is not correct to use

        pointer = opt - mtod(m, u_int8_t *)

because m may have gone through m_pulldown, and it is possible that
m->m_data is no longer the beginning of the packet.

To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/netinet6/dest6.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