|
|
6c9f0c |
From 7faf403f9fb39fea9a0545025cc284ef05e022a7 Mon Sep 17 00:00:00 2001
|
|
|
6c9f0c |
Message-Id: <7faf403f9fb39fea9a0545025cc284ef05e022a7.1488376602.git.dcaratti@redhat.com>
|
|
|
6c9f0c |
From: Badrish Adiga H R <badrish.adigahr@gmail.com>
|
|
|
6c9f0c |
Date: Fri, 6 Jan 2017 17:47:51 +0530
|
|
|
6c9f0c |
Subject: [PATCH] mka: Fix an incorrect update of participant->to_use_sak
|
|
|
6c9f0c |
|
|
|
6c9f0c |
API ieee802_1x_mka_decode_dist_sak_body() wrongly puts
|
|
|
6c9f0c |
participant->to_use_sak to TRUE, if Distributed SAK Parameter Set of
|
|
|
6c9f0c |
length 0 is received. In MACsec PSK mode, this stale incorrect value can
|
|
|
6c9f0c |
create problems while re-establishing CA. In MACsec PSK mode, CA goes
|
|
|
6c9f0c |
down if interface goes down and ideally we should be able to
|
|
|
6c9f0c |
re-establish the CA once interface comes up.
|
|
|
6c9f0c |
|
|
|
6c9f0c |
Signed-off-by: Badrish Adiga H R <badrish.adigahr@gmail.com>
|
|
|
6c9f0c |
---
|
|
|
6c9f0c |
src/pae/ieee802_1x_kay.c | 2 +-
|
|
|
6c9f0c |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
6c9f0c |
|
|
|
6c9f0c |
diff --git a/src/pae/ieee802_1x_kay.c b/src/pae/ieee802_1x_kay.c
|
|
|
6c9f0c |
index 1004b32..79a6878 100644
|
|
|
6c9f0c |
--- a/src/pae/ieee802_1x_kay.c
|
|
|
6c9f0c |
+++ b/src/pae/ieee802_1x_kay.c
|
|
|
6c9f0c |
@@ -1559,7 +1559,7 @@ ieee802_1x_mka_decode_dist_sak_body(
|
|
|
6c9f0c |
ieee802_1x_cp_connect_authenticated(kay->cp);
|
|
|
6c9f0c |
ieee802_1x_cp_sm_step(kay->cp);
|
|
|
6c9f0c |
wpa_printf(MSG_WARNING, "KaY:The Key server advise no MACsec");
|
|
|
6c9f0c |
- participant->to_use_sak = TRUE;
|
|
|
6c9f0c |
+ participant->to_use_sak = FALSE;
|
|
|
6c9f0c |
return 0;
|
|
|
6c9f0c |
}
|
|
|
6c9f0c |
|
|
|
6c9f0c |
--
|
|
|
6c9f0c |
2.7.4
|
|
|
6c9f0c |
|