From: Patrick McHardy <kaber@trash.net>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, greearb@candelatech.com,
Patrick McHardy <kaber@trash.net>
Subject: [NET 00/05]: netdevice rx mode synchronization fixes + macvlan driver
Date: Thu, 12 Jul 2007 20:13:39 +0200 (MEST) [thread overview]
Message-ID: <20070712181338.13849.74894.sendpatchset@localhost.localdomain> (raw)
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
next reply other threads:[~2007-07-12 18:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-12 18:13 Patrick McHardy [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070712181338.13849.74894.sendpatchset@localhost.localdomain \
--to=kaber@trash.net \
--cc=davem@davemloft.net \
--cc=greearb@candelatech.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox