Re: [PATCH net-next] bonding/main: fix NULL dereference in bond_select_active_slave()

2019-07-02 Thread David Miller
From: Eric Dumazet Date: Mon, 1 Jul 2019 10:48:51 -0700 > A bonding master can be up while best_slave is NULL. ... > Fixes: e2a7420df2e0 ("bonding/main: convert to using slave printk macros") > Signed-off-by: Eric Dumazet > Reported-by: John Sperbeck Applied, thanks.

Re: [PATCH net-next] bonding/main: fix NULL dereference in bond_select_active_slave()

2019-07-01 Thread Eric Dumazet
On Mon, Jul 1, 2019 at 9:15 PM Jay Vosburgh wrote: > > Eric Dumazet wrote: > > >A bonding master can be up while best_slave is NULL. > > > >[12105.636318] BUG: unable to handle kernel NULL pointer dereference at > > > >[12105.638204] mlx4_en: eth1: Linkstate event 1 -> 1 > >[1210

Re: [PATCH net-next] bonding/main: fix NULL dereference in bond_select_active_slave()

2019-07-01 Thread Jay Vosburgh
Eric Dumazet wrote: >A bonding master can be up while best_slave is NULL. > >[12105.636318] BUG: unable to handle kernel NULL pointer dereference at > >[12105.638204] mlx4_en: eth1: Linkstate event 1 -> 1 >[12105.648984] IP: bond_select_active_slave+0x125/0x250 >[12105.653977] PG

[PATCH net-next] bonding/main: fix NULL dereference in bond_select_active_slave()

2019-07-01 Thread Eric Dumazet
A bonding master can be up while best_slave is NULL. [12105.636318] BUG: unable to handle kernel NULL pointer dereference at [12105.638204] mlx4_en: eth1: Linkstate event 1 -> 1 [12105.648984] IP: bond_select_active_slave+0x125/0x250 [12105.653977] PGD 0 P4D 0 [12105.656572] Oops