From: Jeremy Kerr <jk@codeconstruct.com.au>
To: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
Matt Johnston <matt@codeconstruct.com.au>
Subject: [PATCH net-next 0/2] Add checks for incoming packet addresses
Date: Fri, 18 Feb 2022 12:25:52 +0800 [thread overview]
Message-ID: <20220218042554.564787-1-jk@codeconstruct.com.au> (raw)
This series adds a couple of checks for valid addresses on incoming MCTP
packets. We introduce a couple of helpers in 1/2, and use them in the
ingress path in 2/2.
Cheers,
Jeremy
---
Jeremy Kerr (2):
mctp: replace mctp_address_ok with more fine-grained helpers
mctp: add address validity checking for packet receive
include/net/mctp.h | 12 +++++++++++-
net/mctp/device.c | 2 +-
net/mctp/neigh.c | 2 +-
net/mctp/route.c | 13 ++++++++++++-
4 files changed, 25 insertions(+), 4 deletions(-)
--
2.34.1
next reply other threads:[~2022-02-18 4:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-18 4:25 Jeremy Kerr [this message]
2022-02-18 4:25 ` [PATCH net-next 1/2] mctp: replace mctp_address_ok with more fine-grained helpers Jeremy Kerr
2022-02-18 4:25 ` [PATCH net-next 2/2] mctp: add address validity checking for packet receive Jeremy Kerr
2022-02-19 5:50 ` [PATCH net-next 0/2] Add checks for incoming packet addresses patchwork-bot+netdevbpf
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=20220218042554.564787-1-jk@codeconstruct.com.au \
--to=jk@codeconstruct.com.au \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=matt@codeconstruct.com.au \
--cc=netdev@vger.kernel.org \
/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).