: netdevice rx mode synchronization fixes + macvlan driver
Status from this message: Applied, thanks Patrick.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | : Add net_device change_rx_mode callbackinclude/ net/ | +19 | 1 reply | |
| 2/5 | : dev_mcast: add multicast list synchronization helpersinclude/ net/ | +78 | 1 reply | |
| 3/5 | : Fix promiscous/allmulti synchronization racesinclude/ net/ net/ +1 more | +22 | 1 reply | |
| 4/5 | : Use multicast list synchronization helpersinclude/ net/ | +2 | 1 reply | |
| 5/5 | : Add macvlan driverMAINTAINERS drivers/ drivers/ +4 more | +550 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [NET 00/05]: netdevice rx mode synchronization fixes + macvlan driver
These patches introduce a new net_device hook for synchronizing promiscous and allmulti state to an underlying device (as done by 8021q, bonding, maxvlan, ..) to fix some races that occur when doing this from dev->set_multicast_list. They also introduce two helpers for multicast list synchonization and change VLAN to make use of all of this (mainly to show that its not only for macvlan, but it also fixes some real races). The last patch adds the macvlan driver.
Please apply, thanks.
MAINTAINERS | 6 + drivers/net/Kconfig | 10 + drivers/net/Makefile | 1 + drivers/net/macvlan.c | 496 ++++++++++++++++++++++++++++++++++++++++++++ include/linux/if_macvlan.h | 9 + include/linux/if_vlan.h | 7 - include/linux/netdevice.h | 8 + net/8021q/vlan.c | 1 + net/8021q/vlan.h | 1 + net/8021q/vlan_dev.c | 167 ++------------- net/core/dev.c | 43 ++++- net/core/dev_mcast.c | 75 +++++++ 12 files changed, 670 insertions(+), 154 deletions(-) create mode 100644 drivers/net/macvlan.c create mode 100644 include/linux/if_macvlan.h
Patrick McHardy (5):
[NET]: Add net_device change_rx_mode callback [NET]: dev_mcast: add multicast list synchronization helpers [VLAN]: Fix promiscous/allmulti synchronization races [VLAN]: Use multicast list synchronization helpers [NET]: Add macvlan driver