Re: [patch net] rocker: free netdevice during netdevice removal

2015-08-02 Thread David Miller
From: Jiri Pirko Date: Sun, 2 Aug 2015 19:29:16 +0200 > From: Ido Schimmel > > When removing a port's netdevice in 'rocker_remove_ports', we should > also free the allocated 'net_device' structure. Do that by calling > 'free_netdev' after unregistering it. > > Signed-off-by: Ido Schimmel > S

Re: [patch net] rocker: free netdevice during netdevice removal

2015-08-02 Thread Scott Feldman
On Sun, Aug 2, 2015 at 10:29 AM, Jiri Pirko wrote: > From: Ido Schimmel > > When removing a port's netdevice in 'rocker_remove_ports', we should > also free the allocated 'net_device' structure. Do that by calling > 'free_netdev' after unregistering it. > > Signed-off-by: Ido Schimmel > Signed-o

[patch net] rocker: free netdevice during netdevice removal

2015-08-02 Thread Jiri Pirko
From: Ido Schimmel When removing a port's netdevice in 'rocker_remove_ports', we should also free the allocated 'net_device' structure. Do that by calling 'free_netdev' after unregistering it. Signed-off-by: Ido Schimmel Signed-off-by: Jiri Pirko Fixes: 4b8ac9660af ("rocker: introduce rocker s