summaryrefslogtreecommitdiffstats
path: root/drivers/net/hyperv
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2014-06-16 22:59:02 +0200
committerDavid S. Miller <davem@davemloft.net>2014-06-17 06:36:13 +0200
commit2f18423d7ebf8044a9edaca840be5ae199fb32f6 (patch)
tree2b77c0b4887ea3600f7ccb47924db98d1163ce08 /drivers/net/hyperv
parenttcp: remove unnecessary tcp_sk assignment. (diff)
downloadlinux-2f18423d7ebf8044a9edaca840be5ae199fb32f6.tar.xz
linux-2f18423d7ebf8044a9edaca840be5ae199fb32f6.zip
hyperv: fix apparent cut-n-paste error in send path teardown
c25aaf814a63: "hyperv: Enable sendbuf mechanism on the send path" added some teardown code that looks like it was copied from the recieve path above, but missed a variable name replacement. Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv')
-rw-r--r--drivers/net/hyperv/netvsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hyperv/netvsc.c b/drivers/net/hyperv/netvsc.c
index c041f63a6d30..4ed38eaecea8 100644
--- a/drivers/net/hyperv/netvsc.c
+++ b/drivers/net/hyperv/netvsc.c
@@ -189,7 +189,7 @@ static int netvsc_destroy_buf(struct netvsc_device *net_device)
"unable to teardown send buffer's gpadl\n");
return ret;
}
- net_device->recv_buf_gpadl_handle = 0;
+ net_device->send_buf_gpadl_handle = 0;
}
if (net_device->send_buf) {
/* Free up the receive buffer */