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

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