Netdev List
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/2] flow_dissector: Flow dissector fixes
@ 2017-09-01 21:04 Tom Herbert
  2017-09-01 21:04 ` [PATCH v2 net-next 1/2] flow_dissector: Cleanup control flow Tom Herbert
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tom Herbert @ 2017-09-01 21:04 UTC (permalink / raw)
  To: davem; +Cc: netdev, hannes, alex.popov, Tom Herbert

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

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

end of thread, other threads:[~2017-09-05 18:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-01 21:04 [PATCH v2 net-next 0/2] flow_dissector: Flow dissector fixes Tom Herbert
2017-09-01 21:04 ` [PATCH v2 net-next 1/2] flow_dissector: Cleanup control flow Tom Herbert
2017-09-01 21:04 ` [PATCH v2 net-next 2/2] flow_dissector: Add limit for number of headers to dissect Tom Herbert
2017-09-05 18:45 ` [PATCH v2 net-next 0/2] flow_dissector: Flow dissector fixes David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox