[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170901210412.2915-1-tom@quantonium.net>
Date: Fri, 1 Sep 2017 14:04:10 -0700
From: Tom Herbert <tom@...ntonium.net>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, hannes@...essinduktion.org,
alex.popov@...ux.com, Tom Herbert <tom@...ntonium.net>
Subject: [PATCH v2 net-next 0/2] flow_dissector: Flow dissector fixes
This patch set fixes some basic issues with __skb_flow_dissect function.
Items addressed:
- Cleanup control flow in the function; in particular eliminate a
bunch of goto's and implement a simplified control flow model
- Add limits for number of encapsulations and headers that can be
dissected
v2:
- Simplify the logic for limits on flow dissection. Just set the
limit based on the number of headers the flow dissector can
processes. The accounted headers includes encapsulation headers,
extension headers, or other shim headers.
Tested:
Ran normal traffic, GUE, and VXLAN traffic.
*** BLURB HERE ***
Tom Herbert (2):
flow_dissector: Cleanup control flow
flow_dissector: Add limit for number of headers to dissect
include/net/flow_dissector.h | 8 ++
net/core/flow_dissector.c | 242 +++++++++++++++++++++++++++++--------------
2 files changed, 172 insertions(+), 78 deletions(-)
--
2.11.0
Powered by blists - more mailing lists