summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorPai <vpai@akamai.com>2015-04-29 20:24:23 +0200
committerDavid S. Miller <davem@davemloft.net>2015-04-29 21:37:19 +0200
commite913fb279c564f2af05658b3f01041757d2e9303 (patch)
tree3526e60e0e789f5998dc0051177dd08b6221fd1d /sound
parentnet: dsa: Fix scope of eeprom-length property (diff)
downloadlinux-e913fb279c564f2af05658b3f01041757d2e9303.tar.xz
linux-e913fb279c564f2af05658b3f01041757d2e9303.zip
net: Fix Kernel Panic in bonding driver debugfs file: rlb_hash_table
This patch fixes a Kernel Panic in bonding driver debugfs file: rlb_hash_table. $> modprobe bonding mode=6 $> cat /sys/kernel/debug/bonding/bond0/rlb_hash_table This will crash the kernel. The struct alb_bond_info is initialized only when the bonding interface is initialized (ip link set bond0 up) and not at the time it is allocated. If we try to read the table before that, it'll result in a kernel panic. The patch applies against both net and net-next Signed-off-by: Vishwanath Pai <vpai@akamai.com> Signed-off-by: Andy Gospodarek <gospo@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions