]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge branch 'sync_multiple'
authorDavid S. Miller <davem@davemloft.net>
Mon, 15 Apr 2013 20:10:53 +0000 (16:10 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Apr 2013 20:10:53 +0000 (16:10 -0400)
Vlad Yasevich says:

====================
Current dev_[uc|mc]_addr_sync() API currently correctly syncs the
addresses to the first device.  Any subsequent calls to sync will
not do anything since the synched variable will be set.  This
variable is used as an optimization to skip over addresses that have
been synched.

There are some devices (ex: team) that attempt to do the above.  There
is other work in progress that needs to above to work corretly.

The short series introduces dev_[uc|mc]_addr_synch_multiple() that
allows multiple calls to sync to multiple different devices.  Original
API is left alone and still has the limitation.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge