--- - branch: MAIN date: Thu Nov 16 03:07:18 UTC 2017 files: - new: '1.9' old: '1.8' path: src/sys/arch/arm/sunxi/sunxi_emac.c pathrev: src/sys/arch/arm/sunxi/sunxi_emac.c@1.9 type: modified - new: '1.43' old: '1.42' path: src/sys/dev/ic/dwc_gmac.c pathrev: src/sys/dev/ic/dwc_gmac.c@1.43 type: modified - new: '1.543' old: '1.542' path: src/sys/dev/pci/if_wm.c pathrev: src/sys/dev/pci/if_wm.c@1.543 type: modified - new: '1.112' old: '1.111' path: src/sys/dev/pci/ixgbe/ixgbe.c pathrev: src/sys/dev/pci/ixgbe/ixgbe.c@1.112 type: modified - new: '1.74' old: '1.73' path: src/sys/dev/pci/ixgbe/ixv.c pathrev: src/sys/dev/pci/ixgbe/ixv.c@1.74 type: modified - new: '1.242' old: '1.241' path: src/sys/net/if.h pathrev: src/sys/net/if.h@1.242 type: modified - new: '1.140' old: '1.139' path: src/sys/net/if_bridge.c pathrev: src/sys/net/if_bridge.c@1.140 type: modified - new: '1.246' old: '1.245' path: src/sys/net/if_ethersubr.c pathrev: src/sys/net/if_ethersubr.c@1.246 type: modified - new: '1.132' old: '1.131' path: src/sys/net/if_gif.c pathrev: src/sys/net/if_gif.c@1.132 type: modified - new: '1.15' old: '1.14' path: src/sys/net/if_l2tp.c pathrev: src/sys/net/if_l2tp.c@1.15 type: modified - new: '1.98' old: '1.97' path: src/sys/net/if_loop.c pathrev: src/sys/net/if_loop.c@1.98 type: modified - new: '1.131' old: '1.130' path: src/sys/net/if_pppoe.c pathrev: src/sys/net/if_pppoe.c@1.131 type: modified - new: '1.107' old: '1.106' path: src/sys/net/if_vlan.c pathrev: src/sys/net/if_vlan.c@1.107 type: modified - new: '1.3' old: '1.2' path: src/sys/netcan/if_canloop.c pathrev: src/sys/netcan/if_canloop.c@1.3 type: modified - new: '1.92' old: '1.91' path: src/sys/netinet/ip_carp.c pathrev: src/sys/netinet/ip_carp.c@1.92 type: modified id: 20171116T030718Z.1e8d54c18af55cfc77ab90f764e9af8ef1fdfe38 log: | Unify IFEF_*_MPSAFE into IFEF_MPSAFE There are already two flags for if_output and if_start, however, it seems such MPSAFE flags are eventually needed for all if_XXX operations. Having discrete flags for each operation is wasteful of if_extflags bits. So let's unify the flags into one: IFEF_MPSAFE. Fortunately IFEF_*_MPSAFE flags have never been included in any releases, so we can change them without breaking backward compatibility of the releases (though the kernel version of -current should be bumped). Note that if an interface have both MP-safe and non-MP-safe operations at a time, we have to set the IFEF_MPSAFE flag and let callees of non-MP-safe opeartions take the kernel lock. Proposed on tech-kern@ and tech-net@ module: src subject: 'CVS commit: src/sys' unixtime: '1510801638' user: ozaki-r