linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv3 net-next 00/10] OVS conntrack support
@ 2015-08-11 22:59 Joe Stringer
  2015-08-11 22:59 ` [PATCHv3 net-next 01/10] openvswitch: Serialize acts with original netlink len Joe Stringer
                   ` (9 more replies)
  0 siblings, 10 replies; 19+ messages in thread
From: Joe Stringer @ 2015-08-11 22:59 UTC (permalink / raw)
  To: netdev
  Cc: linux-kernel, pablo, kaber, jpettit, pshelar, azhou, jesse,
	fwestpha, hannes, tgraf

The goal of this series is to allow OVS to send packets through the Linux
kernel connection tracker, and subsequently match on fields populated by
conntrack.

This version addresses the feedback from v2, mostly going over the dst
reference taking and skb metadata to check that they are restored correctly
after fragmentation.

This functionality is enabled through the CONFIG_OPENVSWITCH_CONNTRACK option.

The branch below has been updated with the corresponding userspace pieces:
https://github.com/justinpettit/ovs conntrack

v3: Better handling of skb->dst in output/fragmentation
    Address cases involving l2 metadata and checksums
    Make MRU types more consistent
    Better cleanup in error paths
    Fix sparse warnings

v2: Split out per-netns connlabel width setting functions
    Simplify reference tracking in output path.
    Handle output cases where flow key is invalidated by prior push/pop
    Store entire L2 header to apply to fragments
    Various bits of refactoring, comments, styles, log improvements
    Defer patch to scrub skb
    Rebase

v1: First non-RFC post.
    Fragment handling.
    Conntrack label support.

Joe Stringer (9):
  openvswitch: Serialize acts with original netlink len
  openvswitch: Move MASKED* macros to datapath.h
  ipv6: Export nf_ct_frag6_gather()
  dst: Add __skb_dst_copy() variation
  openvswitch: Add conntrack action
  netfilter: Always export nf_connlabels_replace()
  netfilter: connlabels: Export setting connlabel length
  openvswitch: Allow matching on conntrack label
  openvswitch: Allow attaching helpers to ct action

Justin Pettit (1):
  openvswitch: Allow matching on conntrack mark

 include/net/dst.h                           |   9 +-
 include/net/netfilter/nf_conntrack_labels.h |   4 +
 include/uapi/linux/openvswitch.h            |  49 ++
 net/ipv6/netfilter/nf_conntrack_reasm.c     |   1 +
 net/netfilter/nf_conntrack_labels.c         |  34 +-
 net/netfilter/xt_connlabel.c                |  16 +-
 net/openvswitch/Kconfig                     |  11 +
 net/openvswitch/Makefile                    |   2 +
 net/openvswitch/actions.c                   | 232 ++++++++--
 net/openvswitch/conntrack.c                 | 688 ++++++++++++++++++++++++++++
 net/openvswitch/conntrack.h                 | 126 +++++
 net/openvswitch/datapath.c                  |  74 ++-
 net/openvswitch/datapath.h                  |  12 +
 net/openvswitch/flow.c                      |   5 +
 net/openvswitch/flow.h                      |   9 +
 net/openvswitch/flow_netlink.c              | 103 ++++-
 net/openvswitch/flow_netlink.h              |   4 +-
 net/openvswitch/vport.c                     |   1 +
 18 files changed, 1299 insertions(+), 81 deletions(-)
 create mode 100644 net/openvswitch/conntrack.c
 create mode 100644 net/openvswitch/conntrack.h

-- 
2.1.4


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

end of thread, other threads:[~2015-08-13 17:14 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-11 22:59 [PATCHv3 net-next 00/10] OVS conntrack support Joe Stringer
2015-08-11 22:59 ` [PATCHv3 net-next 01/10] openvswitch: Serialize acts with original netlink len Joe Stringer
2015-08-12 21:34   ` Pravin Shelar
2015-08-11 22:59 ` [PATCHv3 net-next 02/10] openvswitch: Move MASKED* macros to datapath.h Joe Stringer
2015-08-12 21:34   ` Pravin Shelar
2015-08-11 22:59 ` [PATCHv3 net-next 03/10] ipv6: Export nf_ct_frag6_gather() Joe Stringer
2015-08-12 21:35   ` Pravin Shelar
2015-08-11 22:59 ` [PATCHv3 net-next 04/10] dst: Add __skb_dst_copy() variation Joe Stringer
2015-08-12 21:35   ` Pravin Shelar
2015-08-11 22:59 ` [PATCHv3 net-next 05/10] openvswitch: Add conntrack action Joe Stringer
2015-08-12 21:38   ` Pravin Shelar
2015-08-11 22:59 ` [PATCHv3 net-next 06/10] openvswitch: Allow matching on conntrack mark Joe Stringer
2015-08-12 23:00   ` Pravin Shelar
2015-08-12 23:41     ` Joe Stringer
2015-08-13 17:14       ` Pravin Shelar
2015-08-11 22:59 ` [PATCHv3 net-next 07/10] netfilter: Always export nf_connlabels_replace() Joe Stringer
2015-08-11 22:59 ` [PATCHv3 net-next 08/10] netfilter: connlabels: Export setting connlabel length Joe Stringer
2015-08-11 22:59 ` [PATCHv3 net-next 09/10] openvswitch: Allow matching on conntrack label Joe Stringer
2015-08-11 22:59 ` [PATCHv3 net-next 10/10] openvswitch: Allow attaching helpers to ct action Joe Stringer

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).