Source-Changes archive

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

CVS commit: src/sys



Module Name:    src
Committed By:   ozaki-r
Date:           Fri Mar 31 06:49:44 UTC 2017

Modified Files:
        src/sys/netinet: ip_icmp.c ip_input.c ip_var.h tcp_input.c
        src/sys/sys: mbuf.h

Log Message:
Don't use a single global variable to store source route information for multiple incoming packets

It's not MP-safe. So use a m_tag to store the information instead.

Pointed out by knakahara@
The fix is from OpenBSD (originally fixed in FreeBSD)


To generate a diff of this commit:
cvs rdiff -u -r1.160 -r1.161 src/sys/netinet/ip_icmp.c
cvs rdiff -u -r1.353 -r1.354 src/sys/netinet/ip_input.c
cvs rdiff -u -r1.118 -r1.119 src/sys/netinet/ip_var.h
cvs rdiff -u -r1.355 -r1.356 src/sys/netinet/tcp_input.c
cvs rdiff -u -r1.168 -r1.169 src/sys/sys/mbuf.h

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