Skip to content

Commit 2f18423

Browse files
Dave Jonesdavem330
authored andcommitted
hyperv: fix apparent cut-n-paste error in send path teardown
c25aaf8: "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>
1 parent 1784637 commit 2f18423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/hyperv/netvsc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ static int netvsc_destroy_buf(struct netvsc_device *net_device)
189189
"unable to teardown send buffer's gpadl\n");
190190
return ret;
191191
}
192-
net_device->recv_buf_gpadl_handle = 0;
192+
net_device->send_buf_gpadl_handle = 0;
193193
}
194194
if (net_device->send_buf) {
195195
/* Free up the receive buffer */

0 commit comments

Comments
 (0)