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>
This commit is contained in:
Dave Jones 2014-06-16 16:59:02 -04:00 коммит произвёл David S. Miller
Родитель 17846376f2
Коммит 2f18423d7e
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -189,7 +189,7 @@ static int netvsc_destroy_buf(struct netvsc_device *net_device)
"unable to teardown send buffer's gpadl\n"); "unable to teardown send buffer's gpadl\n");
return ret; return ret;
} }
net_device->recv_buf_gpadl_handle = 0; net_device->send_buf_gpadl_handle = 0;
} }
if (net_device->send_buf) { if (net_device->send_buf) {
/* Free up the receive buffer */ /* Free up the receive buffer */