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

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