Re: [PATCH net,2/2] hyperv: Fix RNDIS send_completion code path

From: David Miller
Date: Mon Apr 08 2013 - 12:16:26 EST


From: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
Date: Fri, 5 Apr 2013 14:44:40 -0700

> In some cases, the VM_PKT_COMP message can arrive later than RNDIS completion
> message, which will free the packet memory. This may cause panic due to access
> to freed memory in netvsc_send_completion().
>
> This patch fixes this problem by removing rndis_filter_send_request_completion()
> from the code path. The function was a no-op.
>
> Reported-by: Long Li <longli@xxxxxxxxxxxxx>
> Tested-by: Long Li <longli@xxxxxxxxxxxxx>
> Signed-off-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
> Reviewed-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/