summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/marvell/mvneta.c
diff options
context:
space:
mode:
authorHaiyang Zhang2013-04-05 13:44:40 +0200
committerDavid S. Miller2013-04-08 18:15:17 +0200
commitf1ea3cd70110d482ef1ce6ef158df113aa366f43 (patch)
treeead600ab71402db00476255f4ed7f1d723eacdd3 /drivers/net/ethernet/marvell/mvneta.c
parenthyperv: Fix a kernel warning from netvsc_linkstatus_callback() (diff)
downloadkernel-qcow2-linux-f1ea3cd70110d482ef1ce6ef158df113aa366f43.tar.gz
kernel-qcow2-linux-f1ea3cd70110d482ef1ce6ef158df113aa366f43.tar.xz
kernel-qcow2-linux-f1ea3cd70110d482ef1ce6ef158df113aa366f43.zip
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 <longli@microsoft.com> Tested-by: Long Li <longli@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Reviewed-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/mvneta.c')
0 files changed, 0 insertions, 0 deletions