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

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