Thread (1 message) 1 message, 1 author, 2016-06-22

Re: [RFC PATCH net v2 2/2] openvswitch: Only set mark and labels with a commit flag.

From: Joe Stringer <hidden>
Date: 2016-06-22 00:25:28

On 21 June 2016 at 14:59, Jarno Rajahalme [off-list ref] wrote:
Only set conntrack mark or labels when the commit flag is specified.
This makes sure we can not set them before the connection has been
persisted, as in that case the mark and labels would be lost in an
event of an userspace upcall.

OVS userspace already requires the commit flag to accept setting
ct_mark and/or ct_labels.  Validate for this in the kernel API.

Signed-off-by: Jarno Rajahalme <redacted>
As this is walling off an inconsistent corner of the ct action, and
OVS userspace already enforces this constraint, this looks OK to me.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help