lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110720081733.5afa3f8c@nehalam.ftrdhcpuser.net>
Date:	Wed, 20 Jul 2011 08:17:33 -0700
From:	Stephen Hemminger <shemminger@...tta.com>
To:	Krishna Kumar <krkumar2@...ibm.com>
Cc:	mst@...hat.com, netdev@...r.kernel.org, davem@...emloft.net
Subject: Re: [PATCH] Fix panic in virtnet_remove

On Wed, 20 Jul 2011 13:13:39 +0530
Krishna Kumar <krkumar2@...ibm.com> wrote:

> Fix a panic in virtnet_remove. unregister_netdev has already
> freed up the netdev (and virtnet_info) due to dev->destructor
> being set, while virtnet_info is still required. Remove
> virtnet_free altogether, and move the freeing of the per-cpu
> statistics from virtnet_free to virtnet_remove.
> 
> Tested patch below.
> 
> Signed-off-by: Krishna Kumar <krkumar2@...ibm.com>

Need to check veth and xen for same problem.

Acked-by: Stephen Hemminger <shemminger@...tta.com>
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ