From: Haiyang Zhang Date: Fri, 5 Apr 2013 11:44:40 +0000 (+0000) Subject: hyperv: Fix RNDIS send_completion code path X-Git-Tag: v3.9-rc7~26^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1ea3cd70110d482ef1ce6ef158df113aa366f43;p=pandora-kernel.git hyperv: Fix RNDIS send_completion code path 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 Tested-by: Long Li Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan Signed-off-by: David S. Miller --- Reading git-diff-tree failed