]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/linux/0022-hyperv-fix-apparent-cut-n-paste-error-in-send-path-t.patch
make.sh limit build to 23 parallel threads.
[ipfire-2.x.git] / src / patches / linux / 0022-hyperv-fix-apparent-cut-n-paste-error-in-send-path-t.patch
1 From ee99150c7f34737e4382e7199d2ffe3dfbb54a5c Mon Sep 17 00:00:00 2001
2 From: Dave Jones <davej@redhat.com>
3 Date: Mon, 16 Jun 2014 16:59:02 -0400
4 Subject: [PATCH 22/25] hyperv: fix apparent cut-n-paste error in send path
5 teardown
6
7 c25aaf814a63: "hyperv: Enable sendbuf mechanism on the send path" added
8 some teardown code that looks like it was copied from the recieve path
9 above, but missed a variable name replacement.
10
11 Signed-off-by: Dave Jones <davej@redhat.com>
12 Signed-off-by: David S. Miller <davem@davemloft.net>
13 ---
14 drivers/net/hyperv/netvsc.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 diff --git a/drivers/net/hyperv/netvsc.c b/drivers/net/hyperv/netvsc.c
18 index c041f63a6d30..4ed38eaecea8 100644
19 --- a/drivers/net/hyperv/netvsc.c
20 +++ b/drivers/net/hyperv/netvsc.c
21 @@ -189,7 +189,7 @@ static int netvsc_destroy_buf(struct netvsc_device *net_device)
22 "unable to teardown send buffer's gpadl\n");
23 return ret;
24 }
25 - net_device->recv_buf_gpadl_handle = 0;
26 + net_device->send_buf_gpadl_handle = 0;
27 }
28 if (net_device->send_buf) {
29 /* Free up the receive buffer */
30 --
31 2.4.3
32