Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dave Jones and committed by
David S. Miller
2f18423d 17846376

+1 -1
+1 -1
drivers/net/hyperv/netvsc.c
··· 189 189 "unable to teardown send buffer's gpadl\n"); 190 190 return ret; 191 191 } 192 - net_device->recv_buf_gpadl_handle = 0; 192 + net_device->send_buf_gpadl_handle = 0; 193 193 } 194 194 if (net_device->send_buf) { 195 195 /* Free up the receive buffer */