Blame SOURCES/open-lldp-v1.0.1-12-VDP22-Fix-the-ack-timeout-handler-to-set-the-right-t.patch

89f6b3
From c26e175bea45306657c3435dc1ac2203584cf77a Mon Sep 17 00:00:00 2001
89f6b3
From: padkrish <padkrish@cisco.com>
89f6b3
Date: Wed, 21 Jan 2015 03:40:32 +0000
89f6b3
Subject: [PATCH] VDP22: Fix the ack timeout handler to set the right timeout
89f6b3
 variable
89f6b3
89f6b3
Currently the acktimeout handler sets the keepalive timeout boolean
89f6b3
variable as a result of which the profiles don't get deleted when
89f6b3
there's a timeout. This diff sets the acktimeout variable in the
89f6b3
acktimeout handler.
89f6b3
89f6b3
Signed-off-by: padkrish <padkrish@cisco.com>
89f6b3
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
89f6b3
---
89f6b3
 qbg/vdp22sm.c | 2 +-
89f6b3
 1 file changed, 1 insertion(+), 1 deletion(-)
89f6b3
89f6b3
diff --git a/qbg/vdp22sm.c b/qbg/vdp22sm.c
89f6b3
index db0e413..14356ac 100644
89f6b3
--- a/qbg/vdp22sm.c
89f6b3
+++ b/qbg/vdp22sm.c
89f6b3
@@ -439,7 +439,7 @@ static void vdp22st_handle_ackto(UNUSED void *ctx, void *data)
89f6b3
 	LLDPAD_DBG("%s:%s timeout ack timer for %p(%02x) ackreceived:%d\n",
89f6b3
 		   __func__, p->vdp->ifname, p, p->vsi[0], p->smi.ackreceived);
89f6b3
 	if (!p->smi.ackreceived) {
89f6b3
-		p->smi.kato = true;
89f6b3
+		p->smi.acktimeout = true;
89f6b3
 		vdp22st_run(p);
89f6b3
 	}
89f6b3
 }
89f6b3
-- 
89f6b3
2.1.0
89f6b3