diff options
author | Konstantin Khorenko <khorenko@virtuozzo.com> | 2019-03-28 11:29:21 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-29 21:32:39 +0100 |
commit | 18bebc6dd3281955240062655a4df35eef2c46b3 (patch) | |
tree | 79970f02b56d85ceab6802d5076b6806203182fc /arch/xtensa | |
parent | net: core: netif_receive_skb_list: unlist skb before passing to pt->func (diff) | |
download | linux-18bebc6dd3281955240062655a4df35eef2c46b3.tar.xz linux-18bebc6dd3281955240062655a4df35eef2c46b3.zip |
bonding: show full hw address in sysfs for slave entries
Bond expects ethernet hwaddr for its slave, but it can be longer than 6
bytes - infiniband interface for example.
# cat /sys/devices/<skipped>/net/ib0/address
80:00:02:08:fe:80:00:00:00:00:00:00:7c:fe:90:03:00:be:5d:e1
# cat /sys/devices/<skipped>/net/ib0/bonding_slave/perm_hwaddr
80:00:02:08:fe:80
So print full hwaddr in sysfs "bonding_slave/perm_hwaddr" as well.
Signed-off-by: Konstantin Khorenko <khorenko@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions