mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
ha: Ignore per-CPU CHILD_SAs
These only work on initiators (with trap policies), which is something the plugin doesn't support.
This commit is contained in:
parent
17f2188756
commit
297be45275
@ -66,6 +66,10 @@ METHOD(listener_t, child_keys, bool,
|
|||||||
{ /* do not sync SA between nodes */
|
{ /* do not sync SA between nodes */
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
if (child_sa->use_per_cpu(child_sa))
|
||||||
|
{ /* ignore per-CPU SAs */
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
m = ha_message_create(HA_CHILD_ADD);
|
m = ha_message_create(HA_CHILD_ADD);
|
||||||
|
|
||||||
@ -167,7 +171,10 @@ METHOD(listener_t, child_state_change, bool,
|
|||||||
{ /* do not sync SA between nodes */
|
{ /* do not sync SA between nodes */
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
if (child_sa->use_per_cpu(child_sa))
|
||||||
|
{ /* ignore per-CPU SAs */
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
if (state == CHILD_DESTROYING)
|
if (state == CHILD_DESTROYING)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user