]> 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)
commitfdbee8e5424c33379c7755b995ddb4d566854b59
tree599cfa0d7929e8e152bb4d2f5a5d64c74b87db3b
parent2ff8c4cda607ac2f3a1ec0819507a8add4d6ad2c
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