[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <OFD93CA49F.2B3E595B-ON652578CF.001E1324-652578CF.001E7034@in.ibm.com>
Date: Sat, 16 Jul 2011 11:02:43 +0530
From: Krishna Kumar2 <krkumar2@...ibm.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, shemminger@...tta.com, mst@...hat.com
Subject: Re: [PATCH] Fix panic in virtnet_remove
David Miller <davem@...emloft.net> wrote on 07/15/2011 08:49:09 PM:
> > modprobe -r virtio_net panics in free_netdev() as the
> > dev is already freed in the newly introduced virtnet_free
> > (commit 3fa2a1df9094). Since virtnet_remove doesn't require
> > dev after unregister, I am removing the free_netdev call
> > in virtnet_remove instead of in virtnet_free (which seems
> > to be the right place to free the dev). Confirmed that
> > the panic is fixed with this patch.
> >
> > Signed-off-by: Krishna Kumar <krkumar2@...ibm.com>
>
> I guess the virtio NET maintainers don't deserve to get CC:'d on a fix
> like this? :-(
>
> Michael Tsirkin is who maintains this driver actively and is the one
> who will merge this kind of fix to me, therefore if you don't CC:
> him it might not get integrated at all.
Sorry, but it was not intentional. I saw that Stephen had
made that change so cc'd him instead.
Michael, I am attaching the patch below, please let me know if
you need it inlined:
(See attached file: patch)
Thanks,
- KK
Download attachment "patch" of type "application/octet-stream" (921 bytes)
Powered by blists - more mailing lists