netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [NET 00/05]: Secondary unicast address support v2
@ 2007-06-22 12:24 Patrick McHardy
  2007-06-22 12:24 ` [NET 01/05]: dev_mcast: unexport dev_mc_upload Patrick McHardy
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Patrick McHardy @ 2007-06-22 12:24 UTC (permalink / raw)
  To: netdev; +Cc: Patrick McHardy

This is an updated version of the secondary unicast address patches. I've
introduced a common structure and helpers for both unicast and multicast
addresses to make it easier for virtual software devices that want to
synchronize addresses to a lower device to reuse code. Additionally I
fixed a deadlock when putting the device into promiscous mode, renamed
dev->set_address_list to dev->set_rx_mode and cleaned the code up a bit.

One remaining question is how to handle the case that too many unicast
addresses are configured and the device is put into promiscous mode
or unicast filtering is disabled by the driver. In that case we're not
getting the message that is normally printed by dev_set_promiscous
and no audit log. Not sure if that can already happen when configuring
multicast, I thought it was worth mentioning.



 drivers/net/e1000/e1000_main.c |   47 ++++++---
 include/linux/netdevice.h      |   40 +++++---
 net/core/dev.c                 |  213 ++++++++++++++++++++++++++++++++++++---
 net/core/dev_mcast.c           |  128 +++---------------------
 net/decnet/dn_dev.c            |    3 -
 5 files changed, 269 insertions(+), 162 deletions(-)

Patrick McHardy (5):
      [NET]: dev_mcast: unexport dev_mc_upload
      [NET]: dev: introduce generic net_device address lists
      [NET]: dev_mcast: switch to generic net_device address lists
      [NET]: dev: secondary unicast address support
      [E1000]: Secondary unicast address support

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

end of thread, other threads:[~2007-06-27  8:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-22 12:24 [NET 00/05]: Secondary unicast address support v2 Patrick McHardy
2007-06-22 12:24 ` [NET 01/05]: dev_mcast: unexport dev_mc_upload Patrick McHardy
2007-06-27  8:25   ` David Miller
2007-06-22 12:24 ` [NET 02/05]: dev: introduce generic net_device address lists Patrick McHardy
2007-06-27  8:26   ` David Miller
2007-06-22 12:24 ` [NET 03/05]: dev_mcast: switch to " Patrick McHardy
2007-06-27  8:27   ` David Miller
2007-06-22 12:24 ` [NET 04/05]: dev: secondary unicast address support Patrick McHardy
2007-06-27  8:28   ` David Miller
2007-06-27  8:30     ` Patrick McHardy
2007-06-27  8:55       ` David Miller
2007-06-22 12:24 ` [E1000 05/05]: Secondary " Patrick McHardy
2007-06-25 19:01   ` Kok, Auke
2007-06-25 19:05     ` Patrick McHardy

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).