]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit390b3f8ec28a358cc9f7a5b38a43cefb8f6a5f12
tree60bffa8ee121a82fcd16a55387a68cec62657ec9
parenta2eb1f023f0a5ac1ea62f6594b4fe4d15d0e03c8
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