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:           Tue Dec 19 03:32:35 UTC 2017

Modified Files:
        src/sys/dev/ic: dwc_gmac.c
        src/sys/net: if_bridge.c if_l2tp.c if_loop.c if_tap.c if_vlan.c
        src/sys/netcan: if_canloop.c

Log Message:
Don't set IFEF_MPSAFE unless NET_MPSAFE at this point

Because recent investigations show that interfaces with IFEF_MPSAFE need to
follow additional restrictions to work with the flag safely. We should enable it
on an interface by default only if the interface surely satisfies the
restrictions, which are described in if.h.

Note that enabling IFEF_MPSAFE solely gains a few benefit on performance because
the network stack is still serialized by the big kernel locks by default.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/dev/ic/dwc_gmac.c
cvs rdiff -u -r1.145 -r1.146 src/sys/net/if_bridge.c
cvs rdiff -u -r1.16 -r1.17 src/sys/net/if_l2tp.c
cvs rdiff -u -r1.100 -r1.101 src/sys/net/if_loop.c
cvs rdiff -u -r1.104 -r1.105 src/sys/net/if_tap.c
cvs rdiff -u -r1.120 -r1.121 src/sys/net/if_vlan.c
cvs rdiff -u -r1.4 -r1.5 src/sys/netcan/if_canloop.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