From: Arjun Vynipadath <ar...@chelsio.com> Date: Tue, 20 Nov 2018 12:11:39 +0530
> 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 the issue. > > Fixes: 24357e06ba51 ("cxgb4vf: fix memleak in mac_hlist initialization") > Signed-off-by: Arjun Vynipadath <ar...@chelsio.com> > Signed-off-by: Casey Leedom <lee...@chelsio.com> > Signed-off-by: Ganesh Goudar <ganes...@chelsio.com> > --- > v2: > - Updated commit description as per Leon's feedback Applied.