[ovs-git] [ovn-org/ovn] 646b15: Implement SCTP-specific reject() action.

Mark Michelson noreply at github.com
Wed Jan 13 20:15:49 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: 646b150fbbc53973178540fae997a5cbd0e8fd43
      https://github.com/ovn-org/ovn/commit/646b150fbbc53973178540fae997a5cbd0e8fd43
  Author: Mark Michelson <mmichels at redhat.com>
  Date:   2021-01-13 (Wed, 13 Jan 2021)

  Changed paths:
    M controller/pinctrl.c
    M lib/ovn-util.h
    M tests/ovn.at
    M utilities/ovn-trace.c

  Log Message:
  -----------
  Implement SCTP-specific reject() action.

Currently in OVN, if an SCTP packet hits a reject() action, OVN responds
with an ICMP packet. Instead, we should send an SCTP packet with an
ABORT chunk. This will either end the current association or will
prevent an association from being created, depending on which stage of
the SCTP state machine we currently are in.

This patch adds the desired behavior for SCTP. The reject() action will
now send an SCTP ABORT if the incoming packet is SCTP.

Signed-off-by: Mark Michelson <mmichels at redhat.com>
Acked-by: Numan Siddique <numans at ovn.org>


  Commit: eba2a1e1ab125f4411eaaaa072ee92a2e6aa676e
      https://github.com/ovn-org/ovn/commit/eba2a1e1ab125f4411eaaaa072ee92a2e6aa676e
  Author: Mark Michelson <mmichels at redhat.com>
  Date:   2021-01-13 (Wed, 13 Jan 2021)

  Changed paths:
    M controller/pinctrl.c
    M include/ovn/actions.h
    M lib/actions.c
    M northd/ovn-northd.8.xml
    M northd/ovn-northd.c
    M tests/ovn.at
    M utilities/ovn-trace.c

  Log Message:
  -----------
  Add sctp_abort logical flow action.

This is used in similar situations as tcp_reset, only for SCTP flows.

The "router port unreachable" test has been expanded to test SCTP. In
doing so, two test cases were removed because they specified SCTP as the
protocol and expected ICMP replies.

Signed-off-by: Mark Michelson <mmichels at redhat.com>
Acked-by: Numan Siddique <numans at ovn.org>


Compare: https://github.com/ovn-org/ovn/compare/a3929e7e5c59...eba2a1e1ab12


More information about the git mailing list