]> git.baikalelectronics.ru Git - kernel.git/commit
net: etherdevice: add address inherit helper
authorBjørn Mork <bjorn@mork.no>
Fri, 30 Aug 2013 16:08:44 +0000 (18:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2013 00:57:49 +0000 (20:57 -0400)
commitdca7f7facce6cefe4cc41a8aaf4fa93f023faa2c
tree599cfa0d7929e8e152bb4d2f5a5d64c74b87db3b
parentb5b9ada4f371a1982b30a25a35de13ef4e24a51e
net: etherdevice: add address inherit helper

Some etherdevices inherit their address from a parent or
master device. The addr_assign_type should be updated along
with the address in these cases.  Adding a helper function
to simplify this.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/etherdevice.h