android_kernel_samsung_a7y1.../drivers
Konstantin Khorenko 2d83600839 bonding: show full hw address in sysfs for slave entries
[ Upstream commit 18bebc6dd3281955240062655a4df35eef2c46b3 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-06 16:42:11 +02:00
..
accessibility
acpi ACPI / SBS: Fix GPE storm on recent MacBookPro's 2020-04-06 15:20:26 +02:00
amba
android
ata libata: fix using DMA buffers on stack 2020-04-06 16:41:42 +02:00
atm
auxdisplay
base
battery
battery_v2
bcma
block Revert "block/loop: Use global lock for ioctl() operation." 2020-04-06 16:40:42 +02:00
bluetooth
bts
bus
ccic
cdrom cdrom: Fix race condition in cdrom_sysctl_register 2020-04-06 14:51:44 +02:00
char tpm/tpm_i2c_atmel: Return -E2BIG when the transfer is incomplete 2020-04-06 15:49:13 +02:00
clk
clocksource
connector
cpufreq
cpuidle
crypto crypto: crypto4xx - properly set IV after de- and encrypt 2020-04-06 15:49:07 +02:00
dca
devfreq
dio
dma dmaengine: tegra: avoid overflow of byte tracking 2020-04-06 14:52:41 +02:00
dma-buf
edac
eisa
extcon extcon: usb-gpio: Don't miss event during suspend/resume 2020-04-06 11:16:41 +02:00
fingerprint
firewire
firmware
five
fmc
fpga
gator
gpio gpio: gpio-omap: fix level interrupt idling 2020-04-06 14:22:12 +02:00
gps
gpu drm/dp/mst: Configure no_stop_bit correctly for remote i2c xfers 2020-04-06 14:52:43 +02:00
gud
hid HID: debug: fix race condition with between rdesc_show() and device removal 2020-04-06 16:42:06 +02:00
hsi
hv
hwmon
hwspinlock
hwtracing intel_th: gth: Fix an off-by-one in output unassigning 2020-04-06 16:40:30 +02:00
i2c i2c: core-smbus: prevent stack corruption on read I2C_BLOCK_DATA 2020-04-06 14:02:20 +02:00
ide
idle
iio io: accel: kxcjk1013: restore the range after resume. 2020-04-06 15:49:23 +02:00
infiniband IB/mlx4: Fix race condition between catas error reset and aliasguid flows 2020-04-06 15:17:00 +02:00
input
iommu iommu/dmar: Fix buffer overflow during PCI bus notification 2020-04-06 15:20:35 +02:00
ipack
irqchip
isdn mISDN: hfcpci: Test both vendor & device ID for Digium HFC4S 2020-04-06 12:57:02 +02:00
leds leds: lp55xx: fix null deref on firmware load failure 2020-04-06 14:51:15 +02:00
lguest
lightnvm
macintosh
mailbox
mcb
md bcache: improve sysfs_strtoul_clamp() 2020-04-06 14:51:38 +02:00
media media: s5p-jpeg: Check for fmt_ver_flag when doing fmt enumeration 2020-04-06 14:52:30 +02:00
memory
memstick
message
mfd
misc
mmc mmc: davinci: remove extraneous __init annotation 2020-04-06 15:17:03 +02:00
motor
mtd
muic
net bonding: show full hw address in sysfs for slave entries 2020-04-06 16:42:11 +02:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of
oprofile
parisc
parport
pci PCI: Add function 1 DMA alias quirk for Marvell 9170 SATA controller 2020-04-06 15:16:46 +02:00
pcmcia
perf
phy
pinctrl
platform
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: act8865: Fix act8600_sudcdc_voltage_ranges setting 2020-04-06 14:52:33 +02:00
remoteproc
reset
rpmsg
rtc rtc: sh: Fix invalid alarm warning for non-enabled alarm 2020-04-06 16:42:08 +02:00
s390 scsi: zfcp: reduce flood of fcrscn1 trace records on multi-element RSCN 2020-04-06 16:41:40 +02:00
sbus
scsi scsi: qla4xxx: fix a potential NULL pointer dereference 2020-04-06 16:41:35 +02:00
security/samsung/icdrv
sensorhub
sensors
sfi
sh
sn
soc soc/tegra: fuse: Fix illegal free of IO base address 2020-04-06 14:52:17 +02:00
spi
spmi
ssb
staging staging: comedi: ni_usb6501: Fix possible double-free of ->usb_rx_buf 2020-04-06 15:49:31 +02:00
switch
target
tc
tee
thermal thermal/int340x_thermal: fix mode setting 2020-04-06 15:17:09 +02:00
thunderbolt
trace
tty sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init() 2020-04-06 16:41:13 +02:00
uh
uio
usb USB: core: Fix bug caused by duplicate interface PM usage counter 2020-04-06 16:42:04 +02:00
uwb
vfio vfio/type1: Limit DMA mappings per container 2020-04-06 16:41:46 +02:00
vhost
video fbdev: fbmem: fix memory access if logo is bigger than the screen 2020-04-06 14:51:41 +02:00
virt
virtio
vision
vlynq
vme
w1 USB: w1 ds2490: Fix bug caused by improper use of altsetting array 2020-04-06 16:42:01 +02:00
watchdog
xen
zorro
Kconfig
Makefile