From: Andy Gospodarek <go...@cumulusnetworks.com> Date: Wed, 29 Apr 2015 14:51:07 -0400
> On Wed, Apr 29, 2015 at 02:24:23PM -0400, Pai wrote: >> 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. > > Nice catch! > >> >> The patch applies against both net and net-next >> >> Signed-off-by: Vishwanath Pai <v...@akamai.com> > > Signed-off-by: Andy Gospodarek <go...@cumulusnetworks.com> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html