netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/4] macvlan: Fix some issues with changing mac addresses
@ 2017-06-16 13:36 Vladislav Yasevich
  2017-06-16 13:36 ` [PATCH net 1/4] macvlan: Do not return error when setting the same mac address Vladislav Yasevich
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Vladislav Yasevich @ 2017-06-16 13:36 UTC (permalink / raw)
  To: netdev; +Cc: Vladislav Yasevich

There are some issues in macvlan wrt to changing it's mac address.
* An error is returned in the specified address is the same as an already
  assigned address.
* In passthru mode, the mac address of the macvlan device doesn't change.
* After changing the mac address of a passthru macvlan and then removing it,
  the mac address of the physical device remains changed.

This patch series attempts to resolve these issues.

Thanks
-vlad

Vladislav Yasevich (4):
  macvlan: Do not return error when setting the same mac address
  macvlan: Fix passthru macvlan mac address inheritance
  macvlan: convert port passthru to flags.
  macvlan: Let passthru macvlan correctly restore lower mac address

 drivers/net/macvlan.c | 85 ++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 71 insertions(+), 14 deletions(-)

-- 
2.9.4

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

end of thread, other threads:[~2017-06-17 15:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-16 13:36 [PATCH net 0/4] macvlan: Fix some issues with changing mac addresses Vladislav Yasevich
2017-06-16 13:36 ` [PATCH net 1/4] macvlan: Do not return error when setting the same mac address Vladislav Yasevich
2017-06-16 13:36 ` [PATCH net 2/4] macvlan: Fix passthru macvlan mac address inheritance Vladislav Yasevich
2017-06-16 13:36 ` [PATCH net 3/4] macvlan: convert port passthru to flags Vladislav Yasevich
2017-06-16 13:36 ` [PATCH net 4/4] macvlan: Let passthru macvlan correctly restore lower mac address Vladislav Yasevich
2017-06-17  4:35   ` Girish Moodalbail
2017-06-17 15:21     ` Vlad Yasevich
2017-06-17  5:23 ` [PATCH net 0/4] macvlan: Fix some issues with changing mac addresses Girish Moodalbail

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