[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191029135053.10055-1-mcroce@redhat.com>
Date: Tue, 29 Oct 2019 14:50:49 +0100
From: Matteo Croce <mcroce@...hat.com>
To: netdev@...r.kernel.org
Cc: Jay Vosburgh <j.vosburgh@...il.com>,
Veaceslav Falico <vfalico@...il.com>,
Andy Gospodarek <andy@...yhouse.net>,
"David S . Miller " <davem@...emloft.net>,
Stanislav Fomichev <sdf@...gle.com>,
Daniel Borkmann <daniel@...earbox.net>,
Song Liu <songliubraving@...com>,
Alexei Starovoitov <ast@...nel.org>,
Paul Blakey <paulb@...lanox.com>, linux-kernel@...r.kernel.org
Subject: [PATCH net-next v2 0/4] ICMP flow improvements
This series improves the flow inspector handling of ICMP packets:
The first two patches just add some comments in the code which would have saved
me a few minutes of time, and refactor a piece of code.
The third one adds to the flow inspector the capability to extract the
Identifier field, if present, so echo requests and replies are classified
as part of the same flow.
The fourth patch uses the function introduced earlier to the bonding driver,
so echo replies can be balanced across bonding slaves.
v1 -> v2:
- remove unused struct members
- add an helper to check for the Id field
- use a local flow_dissector_key in the bonding to avoid
changing behaviour of the flow dissector
Matteo Croce (4):
flow_dissector: add meaningful comments
flow_dissector: skip the ICMP dissector for non ICMP packets
flow_dissector: extract more ICMP information
bonding: balance ICMP echoes in layer3+4 mode
drivers/net/bonding/bond_main.c | 77 ++++++++++++++++++++---
include/net/flow_dissector.h | 20 +++---
net/core/flow_dissector.c | 108 +++++++++++++++++++++++---------
3 files changed, 160 insertions(+), 45 deletions(-)
--
2.21.0
Powered by blists - more mailing lists