Hi,

Two things about this series, before anyone spends time on v2.

The CI is right: patch 2 does not build with sparse.  The new test
includes <netinet/in.h> without <sys/types.h> before it.  I did not
build with --enable-sparse before sending; I do now.

After I sent v2 I also found a second way for the same flush to be
cut short, and it matters for patch 2.  A system that runs v1 of the
fix logged this during a flush by ct_label:

  netlink_conntrack|WARN|Unsupported L4 protocol: 47.

followed by the warning that v1 added for a failed delete, with
"Operation not supported".

nl_ct_flush_tuple() only builds a delete request for ICMP, ICMPv6,
TCP, UDP and SCTP, so the delete of a GRE entry fails with EOPNOTSUPP.
v1 carried on after it.  v2 ends the flush there, as the code does
today, so the entries that come after the GRE one in the dump stay.

I do not want to go back to carrying on after any error.  I have a
patch that lets netlink-conntrack build the delete request for any
protocol: it puts the ports in the request for everything that is not
ICMP or ICMPv6.  The kernel ignores them for a protocol that it tracks
by the addresses only, and requires them for GRE.  It comes with a
system test that fails with the kernel datapath without the change.

I will send v3 tomorrow, with the include fixed and with that patch
as patch 4.  Patches 1 and 3 do not change.

Thanks,
Bekei
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to