[Swan-commit] Changes to ref refs/heads/main
Andrew Cagney
cagney at vault.libreswan.fi
Fri Oct 8 16:38:03 UTC 2021
New commits:
commit 4216aeab735d074340df405dad746e590cb29997
Author: Andrew Cagney <cagney at gnu.org>
Date: Thu Oct 7 18:15:07 2021 -0400
connections: invert route_owner()'s loop
Change:
for-all-connections(d)
for-all-spds(c, c_spd)
for-all-spds(d, d_spd)
...
To the less tuned:
for-all-spds(c, c_spd)
for-all-connections(d)
for-all-spds(d, d_spd)
if c_spd.remote.selector!=d_spd.remote.selector
continue
...
It's a set up for:
for-all-spds(c, c_spd)
for-all-spds-by(c_spd.remote.selector, d_spd)
commit 576e97bcb77b5f4ce40563103adb47e44faf3c46
Author: Andrew Cagney <cagney at gnu.org>
Date: Fri Oct 8 09:10:22 2021 -0400
lists: change .newer/.older into .next[enum { OLD2NEW, NEW2OLD }]
make generic code easier
More information about the Swan-commit
mailing list