[VLAN]: set_rx_mode support for unicast address list
authorChris Leech <christopher.leech@intel.com>
Fri, 1 Feb 2008 00:53:23 +0000 (16:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:28:24 +0000 (19:28 -0800)
commite83a2ea850bf0c0c81c675444080970fc07798c6
treeebdf251be6fa2f9b2b482cd0e6393fdbfc8278a0
parent16ca3f913001efdb6171a2781ef41c77474e3895
[VLAN]: set_rx_mode support for unicast address list

Reuse the existing logic for multicast list synchronization for the
unicast address list. The core of dev_mc_sync/unsync are split out as
__dev_addr_sync/unsync and moved from dev_mcast.c to dev.c.  These are
then used to implement dev_unicast_sync/unsync as well.

I'm working on cleaning up Intel's FCoE stack, which generates new MAC
addresses from the fibre channel device id assigned by the fabric as
per the current draft specification in T11.  When using such a
protocol in a VLAN environment it would be nice to not always be
forced into promiscuous mode, assuming the underlying Ethernet driver
supports multiple unicast addresses as well.

Signed-off-by: Chris Leech <christopher.leech@intel.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/netdevice.h
net/8021q/vlan_dev.c
net/core/dev.c
net/core/dev_mcast.c