netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [NET 00/05]: netdevice rx mode synchronization fixes + macvlan driver
@ 2007-07-12 18:13 Patrick McHardy
  2007-07-12 18:13 ` [NET 01/05]: Add net_device change_rx_mode callback Patrick McHardy
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Patrick McHardy @ 2007-07-12 18:13 UTC (permalink / raw)
  To: davem; +Cc: netdev, greearb, Patrick McHardy

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-07-15  1:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-12 18:13 [NET 00/05]: netdevice rx mode synchronization fixes + macvlan driver Patrick McHardy
2007-07-12 18:13 ` [NET 01/05]: Add net_device change_rx_mode callback Patrick McHardy
2007-07-15  1:51   ` David Miller
2007-07-12 18:13 ` [NET 02/05]: dev_mcast: add multicast list synchronization helpers Patrick McHardy
2007-07-15  1:52   ` David Miller
2007-07-12 18:13 ` [VLAN 03/05]: Fix promiscous/allmulti synchronization races Patrick McHardy
2007-07-15  1:53   ` David Miller
2007-07-12 18:13 ` [VLAN 04/05]: Use multicast list synchronization helpers Patrick McHardy
2007-07-15  1:53   ` David Miller
2007-07-12 18:13 ` [NET 05/05]: Add macvlan driver Patrick McHardy
2007-07-15  1:56   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).