Re: [PATCH net-next] cxgb4/cxgb4vf: Fix mac_hlist initialization and free

2018-11-19 Thread Leon Romanovsky
On Mon, Nov 19, 2018 at 03:37:34PM +0530, Arjun Vynipadath wrote: > Null pointer dereference seen when cxgb4vf driver is unloaded > without bringing up any interfaces, moving mac_hlist initialization > to driver probe and free the mac_hlist in remove to fix this. > > Fixes 'commit 24357e06ba51 ("cx

[PATCH net-next] cxgb4/cxgb4vf: Fix mac_hlist initialization and free

2018-11-19 Thread Arjun Vynipadath
Null pointer dereference seen when cxgb4vf driver is unloaded without bringing up any interfaces, moving mac_hlist initialization to driver probe and free the mac_hlist in remove to fix this. Fixes 'commit 24357e06ba51 ("cxgb4vf: fix memleak in mac_hlist initialization")' Signed-off-by: Arjun Vyn