Thread (2 messages) flat view 2 messages, 2 authors, 2011-07-21

Re: [PATCH] Fix panic in virtnet_remove

From: Stephen Hemminger <hidden>
Date: 2011-07-20 15:17:31

On Wed, 20 Jul 2011 13:13:39 +0530
Krishna Kumar [off-list ref] 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 <redacted>
Need to check veth and xen for same problem.

Acked-by: Stephen Hemminger <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help