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

Andrew Cagney cagney at vault.libreswan.fi
Mon Jun 28 23:24:14 UTC 2021

New commits:
commit dadf0a0ea4fc8e9bd211508625d5f2d4ea828d76
Author: Andrew Cagney <cagney at gnu.org>
Date:   Mon Jun 28 13:58:03 2021 -0400

    kernel: add encap_rules_from_spd(), use to build policy rules
    This replaces three blocks of code building the list rules(BSD) /
    temp(xfrm) that are passed into raw_policy() and onto the kernel.
    In the case of sec_labels it also fixes the rule order.
    - struct encap_rules + struct encap_rule replaces struct
    - pfkey_policy_info .mode = {tunnel,transport} is replaced by
      encap_rules .tunnel.
    - .proto type changes from unsigned to enum encap_proto (only allows
      UNDEF, ESP, AH, and IPCOMP).

More information about the Swan-commit mailing list