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:           Wed Sep 27 10:05:05 UTC 2017

Modified Files:
        src/sys/netinet: in_proto.c ip_input.c
        src/sys/netinet6: in6_proto.c ip6_input.c ip6protosw.h
        src/sys/sys: protosw.h

Log Message:
Take softnet_lock on pr_input properly if NET_MPSAFE

Currently softnet_lock is taken unnecessarily in some cases, e.g.,
icmp_input and encap4_input from ip_input, or not taken even if needed,
e.g., udp_input and tcp_input from ipsec4_common_input_cb. Fix them.

NFC if NET_MPSAFE is disabled (default).

To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/sys/netinet/in_proto.c
cvs rdiff -u -r1.360 -r1.361 src/sys/netinet/ip_input.c
cvs rdiff -u -r1.118 -r1.119 src/sys/netinet6/in6_proto.c
cvs rdiff -u -r1.181 -r1.182 src/sys/netinet6/ip6_input.c
cvs rdiff -u -r1.25 -r1.26 src/sys/netinet6/ip6protosw.h
cvs rdiff -u -r1.66 -r1.67 src/sys/sys/protosw.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