[Swan-commit] Changes to ref refs/heads/main
Andrew Cagney
cagney at vault.libreswan.fi
Sat Jul 3 19:34:49 UTC 2021
New commits:
commit 4371d20ca362c052c5c248069ed309e14a3278c2
Author: Andrew Cagney <cagney at gnu.org>
Date: Sat Jul 3 15:31:22 2021 -0400
kernel: drop code in raw_policy() hacking around l2tp / Bug #1004
Handled by the caller. Drop sa_proto parameter as no longer
used.
commit abdc68d9fc92281a1b1e54ce4104fc97be5219dc
Author: Andrew Cagney <cagney at gnu.org>
Date: Fri Jul 2 15:17:01 2021 -0400
kernel: use kernel_route_from_spd() to fix up addressses before calling eroute_connection()
commit 4b1bb9641395bc7040caaf6e46437d9801a3d704
Author: Andrew Cagney <cagney at gnu.org>
Date: Fri Jul 2 13:06:07 2021 -0400
kernel: add kernel_route_from_spd(spd, mode, direction)
lift code out of setup_half_ipsec_sa() that deals with
transport mode and l2tp.
commit 3b9138755e62482f19831889b1354d7abe221994
Author: Andrew Cagney <cagney at gnu.org>
Date: Fri Jul 2 12:24:19 2021 -0400
kernel: struct encap_rules -> struct kernel_encap
so it is clearer that this is part of the kernel interface
also change <<bool .tunnel>> to <<enum encap_mode .mode>>; changing:
if (!encap.tunnel)
to the hopefully more readable:
if (encap.mode == ENCAP_MODE_TRANSPORT)
don't use ENCAPSULATION_MODE_* enum as that sucks in all sorts of
useless stuff.
More information about the Swan-commit
mailing list