netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv4 net 0/6] OVS conntrack fixes for net
@ 2015-10-06 17:59 Joe Stringer
  2015-10-06 17:59 ` [PATCHv4 net 1/6] openvswitch: Fix typos in CT headers Joe Stringer
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Joe Stringer @ 2015-10-06 17:59 UTC (permalink / raw)
  To: netdev; +Cc: davem, pshelar

The userspace side of the Open vSwitch conntrack changes is currently
undergoing review, which has highlighted some minor bugs in the existing
conntrack implementation in the kernel, as well as pointing out some
future-proofing that can be done on the interface to reduce the need for
additional compatibility code in future.

The biggest changes here are to the userspace API for the ct_state match
field and the CT action. This series proposes to firstly extend the ct_state
match field to 32 bits, ensuring to reject any currently unsupported bits.
Secondly, rather than representing CT action flags within a 32-bit field,
simply use a netlink attribute as presence of the single flag that is
defined today. This also serves to reject unsupported ct action flag bits.

v4: Use 12-character abbreviated hashes in commit messages.
v3: Fully acked.
v2: Address minor style feedback, add acks.
v1: Initial post.

Joe Stringer (6):
  openvswitch: Fix typos in CT headers
  openvswitch: Fix skb leak in ovs_fragment()
  openvswitch: Ensure flow is valid before executing ct
  openvswitch: Reject ct_state unsupported bits
  openvswitch: Extend ct_state match field to 32 bits
  openvswitch: Change CT_ATTR_FLAGS to CT_ATTR_COMMIT

 include/uapi/linux/openvswitch.h | 24 +++++++++---------------
 net/openvswitch/actions.c        | 17 +++++++++++++----
 net/openvswitch/conntrack.c      | 15 +++++++--------
 net/openvswitch/conntrack.h      | 12 ++++++++++++
 net/openvswitch/flow_netlink.c   | 12 +++++++++---
 5 files changed, 50 insertions(+), 30 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-10-07 16:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-06 17:59 [PATCHv4 net 0/6] OVS conntrack fixes for net Joe Stringer
2015-10-06 17:59 ` [PATCHv4 net 1/6] openvswitch: Fix typos in CT headers Joe Stringer
2015-10-07 13:33   ` Sergei Shtylyov
2015-10-07 16:12     ` Joe Stringer
2015-10-06 17:59 ` [PATCHv4 net 2/6] openvswitch: Fix skb leak in ovs_fragment() Joe Stringer
2015-10-06 17:59 ` [PATCHv4 net 3/6] openvswitch: Ensure flow is valid before executing ct Joe Stringer
2015-10-06 17:59 ` [PATCHv4 net 4/6] openvswitch: Reject ct_state unsupported bits Joe Stringer
2015-10-06 18:00 ` [PATCHv4 net 5/6] openvswitch: Extend ct_state match field to 32 bits Joe Stringer
2015-10-06 18:00 ` [PATCHv4 net 6/6] openvswitch: Change CT_ATTR_FLAGS to CT_ATTR_COMMIT Joe Stringer
2015-10-07 12:03 ` [PATCHv4 net 0/6] OVS conntrack fixes for net David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).