openvswitch: Change CT_ATTR_FLAGS to CT_ATTR_COMMIT
authorJoe Stringer <joestringer@nicira.com>
Tue, 6 Oct 2015 18:00:01 +0000 (11:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2015 12:03:06 +0000 (05:03 -0700)
commitab38a7b5a4493a3658d891a8e91f9ffcb3d2defb
tree60bffa8ee121a82fcd16a55387a68cec62657ec9
parentfbccce5965a58d56aaed9e9acd1bec75d8a66e87
openvswitch: Change CT_ATTR_FLAGS to CT_ATTR_COMMIT

Previously, the CT_ATTR_FLAGS attribute, when nested under the
OVS_ACTION_ATTR_CT, encoded a 32-bit bitmask of flags that modify the
semantics of the ct action. It's more extensible to just represent each
flag as a nested attribute, and this requires no additional error
checking to reject flags that aren't currently supported.

Suggested-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/openvswitch.h
net/openvswitch/conntrack.c