Re: [PATCH] Fix Kernel Panic in bonding driver debugfs file: rlb_hash_table

2015-04-29 Thread David Miller
From: Vishwanath Pai Date: Wed, 29 Apr 2015 16:30:44 -0400 > Since the patch has been applied already - should I send a V2 with the > suggested changes? Or submit a new patch that applies on top of the > first patch? You should always send me a relative patch in this situation. -- To unsubscribe

Re: [PATCH] Fix Kernel Panic in bonding driver debugfs file: rlb_hash_table

2015-04-29 Thread Vishwanath Pai
On 04/29/2015 03:45 PM, Nikolay Aleksandrov wrote: > On 04/29/2015 08:24 PM, 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.

Re: [PATCH] Fix Kernel Panic in bonding driver debugfs file: rlb_hash_table

2015-04-29 Thread Nikolay Aleksandrov
On 04/29/2015 08:24 PM, 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 bo

Re: [PATCH] Fix Kernel Panic in bonding driver debugfs file: rlb_hash_table

2015-04-29 Thread David Miller
From: Andy Gospodarek 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 >>

Re: [PATCH] Fix Kernel Panic in bonding driver debugfs file: rlb_hash_table

2015-04-29 Thread Andy Gospodarek
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

[PATCH] Fix Kernel Panic in bonding driver debugfs file: rlb_hash_table

2015-04-29 Thread Pai
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