Thread (3 messages) flat view 3 messages, 2 authors, 2012-08-05

RE: [PATCH net-next,1/1] hyperv: Move wait completion msg code into rndis_filter_halt_device()

From: Haiyang Zhang <haiyangz@microsoft.com>
Date: 2012-08-05 19:33:01
Also in: lkml

-----Original Message-----
From: David Miller [mailto:davem@davemloft.net]
Sent: Friday, August 03, 2012 7:52 PM
To: Haiyang Zhang
Cc: netdev@vger.kernel.org; KY Srinivasan; olaf@aepfle.de;
jasowang@redhat.com; linux-kernel@vger.kernel.org;
devel@linuxdriverproject.org
Subject: Re: [PATCH net-next,1/1] hyperv: Move wait completion msg code
into rndis_filter_halt_device()

From: Haiyang Zhang <haiyangz@microsoft.com>
Date: Fri,  3 Aug 2012 12:32:18 -0700
quoted
We need to wait for send_completion msg before put_rndis_request() at
the end of rndis_filter_halt_device(). Otherwise,
netvsc_send_completion() may reference freed memory which is
overwritten, and cause panic.
quoted
Reported-by: Long Li <longli@microsoft.com>
Reported-by: Jason Wang <redacted>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
This is a bug fix, so applied to 'net'.  Please target your patches properly.

Don't just be afraid that I'll reject the patch if you target it at 'net', and
therefore just target everything at 'net-next'.  That is certainly worse.
I see. 

Thanks,
- Haiyang
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help