[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150802.180441.2236361356970613614.davem@davemloft.net>
Date: Sun, 02 Aug 2015 18:04:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, sfeldma@...il.com, idosch@...lanox.com
Subject: Re: [patch net] rocker: free netdevice during netdevice removal
From: Jiri Pirko <jiri@...nulli.us>
Date: Sun, 2 Aug 2015 19:29:16 +0200
> From: Ido Schimmel <idosch@...lanox.com>
>
> 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 <idosch@...lanox.com>
> Signed-off-by: Jiri Pirko <jiri@...nulli.us>
> Fixes: 4b8ac9660af ("rocker: introduce rocker switch driver")
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists