[Swan-commit] Changes to ref refs/heads/main

Andrew Cagney cagney at vault.libreswan.fi
Wed Apr 27 15:18:21 EEST 2022


New commits:
commit 416134e9ae37944a597e7fb23fbfea2d12ed1ace
Author: Andrew Cagney <cagney at gnu.org>
Date:   Tue Apr 26 19:36:29 2022 -0400

    kernel: drop kernel_route parameter to eroute_connection()
    
    Instead use kernel_policy .route.{src,dst}.
    
    Delete all related kernel_route code.

commit a3d671fe41ea52d18ee15762f36ae8faef4370e9
Author: Andrew Cagney <cagney at gnu.org>
Date:   Tue Apr 26 21:35:53 2022 -0400

    kernel: in bare_kernel_policy() set .{src,dst}.{client,route}
    
    Use the client addresses for both fields.
    Drop calls to kernel_route_from_spd().
    
    Note: this means that bare shunts are installed / updated with
      <local.client> -> <remote.client>
    and not:
      <local.client> -> <remote.host>
    
    See github #698.

commit 6f606ac517cc89892c3d58487abd8b9f157c55a6
Author: Andrew Cagney <cagney at gnu.org>
Date:   Tue Apr 26 19:46:19 2022 -0400

    kernel: in setup_half_ipsec_sa, drop call to kernel_route_from_spd()
    
    Use the .route.{src,dst} in kernel_policy.

commit 4af5c6e82d7330d15a46ce1318af9c62d93e8024
Author: Andrew Cagney <cagney at gnu.org>
Date:   Tue Apr 26 17:43:42 2022 -0400

    kernel: set kernel_policy .{host,client,route}.{src,dst} in kernel_policy_from_spd()
    
    .host.{src,dst} were being set by caller.
    .client.{src,dst} are new
    .route.{src,dst} contains the same value as that being cooked up by
    kernel_route_from_spd()



More information about the Swan-commit mailing list