[PATCH net,2/2] hyperv: Fix RNDIS send_completion code path
David Miller
davem at davemloft.net
Mon Apr 8 16:16:20 UTC 2013
From: Haiyang Zhang <haiyangz at microsoft.com>
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 at microsoft.com>
> Tested-by: Long Li <longli at microsoft.com>
> Signed-off-by: Haiyang Zhang <haiyangz at microsoft.com>
> Reviewed-by: K. Y. Srinivasan <kys at microsoft.com>
Applied.
More information about the devel
mailing list