From: Arjun Vynipadath <[email protected]> Date: Fri, 9 Nov 2018 14:52:01 +0530
> mac_hlist was initialized during adapter_up, which will be called > every time a vf device is first brought up, or every time when device > is brought up again after bringing all devices down. This means our > state of previous list is lost, causing a memleak if entries are > present in the list. To fix that, move list init to the condition > that performs initial one time adapter setup. > > Signed-off-by: Arjun Vynipadath <[email protected]> > Signed-off-by: Ganesh Goudar <[email protected]> Applied.
