From: Matteo Croce <mcroce@redhat.com>
To: netdev@vger.kernel.org
Cc: Jay Vosburgh <j.vosburgh@gmail.com>,
Veaceslav Falico <vfalico@gmail.com>,
Andy Gospodarek <andy@greyhouse.net>,
"David S . Miller " <davem@davemloft.net>,
Stanislav Fomichev <sdf@google.com>,
Daniel Borkmann <daniel@iogearbox.net>,
Song Liu <songliubraving@fb.com>,
Alexei Starovoitov <ast@kernel.org>,
Paul Blakey <paulb@mellanox.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH net-next v2 0/4] ICMP flow improvements
Date: Tue, 29 Oct 2019 14:50:49 +0100 [thread overview]
Message-ID: <20191029135053.10055-1-mcroce@redhat.com> (raw)
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
next reply other threads:[~2019-10-29 13:51 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-29 13:50 Matteo Croce [this message]
2019-10-29 13:50 ` [PATCH net-next v2 1/4] flow_dissector: add meaningful comments Matteo Croce
2019-10-29 13:50 ` [PATCH net-next v2 2/4] flow_dissector: skip the ICMP dissector for non ICMP packets Matteo Croce
2019-10-29 13:50 ` [PATCH net-next v2 3/4] flow_dissector: extract more ICMP information Matteo Croce
2019-10-29 13:50 ` [PATCH net-next v2 4/4] bonding: balance ICMP echoes in layer3+4 mode Matteo Croce
2019-10-29 18:35 ` Nikolay Aleksandrov
2019-10-29 18:41 ` Nikolay Aleksandrov
2019-10-29 19:45 ` Matteo Croce
2019-10-29 20:07 ` Nikolay Aleksandrov
2019-10-29 21:03 ` Eric Dumazet
2019-10-29 21:50 ` Nikolay Aleksandrov
2019-10-29 23:04 ` Eric Dumazet
2019-10-30 12:48 ` Nikolay Aleksandrov
2019-10-29 23:03 ` Matteo Croce
2019-10-29 23:14 ` Eric Dumazet
2019-10-29 23:19 ` Matteo Croce
2019-10-31 16:22 ` Matteo Croce
2019-10-31 0:21 ` [PATCH net-next v2 0/4] ICMP flow improvements David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191029135053.10055-1-mcroce@redhat.com \
--to=mcroce@redhat.com \
--cc=andy@greyhouse.net \
--cc=ast@kernel.org \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=j.vosburgh@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=paulb@mellanox.com \
--cc=sdf@google.com \
--cc=songliubraving@fb.com \
--cc=vfalico@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).