netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Abeni <pabeni@redhat.com>
To: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>,
	Tom Herbert <tom@herbertland.com>
Subject: [PATCH net 0/2] udp: add missing check on edumx rx path
Date: Thu, 13 Sep 2018 16:27:19 +0200	[thread overview]
Message-ID: <cover.1536848512.git.pabeni@redhat.com> (raw)

The early demux RX path for the UDP protocol is currently missing
some checks. Both ipv4 and ipv6 implementations lack checksum conversion
and the ipv6 implementation additionally lack the zero checksum
validation.

The first patch takes care of UDPv4 and the second one of UDPv6

Paolo Abeni (2):
  udp4: fix IP_CMSG_CHECKSUM for connected sockets
  udp6: add missing checks on edumux packet processing

 net/ipv4/udp.c | 49 +++++++++++++++++++------------------
 net/ipv6/udp.c | 65 ++++++++++++++++++++++++++++----------------------
 2 files changed, 63 insertions(+), 51 deletions(-)

-- 
2.17.1

             reply	other threads:[~2018-09-13 19:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-13 14:27 Paolo Abeni [this message]
2018-09-13 14:27 ` [PATCH net 1/2] udp4: fix IP_CMSG_CHECKSUM for connected sockets Paolo Abeni
2018-09-13 14:27 ` [PATCH net 2/2] udp6: add missing checks on edumux packet processing Paolo Abeni
2018-09-16 22:28 ` [PATCH net 0/2] udp: add missing check on edumx rx path 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=cover.1536848512.git.pabeni@redhat.com \
    --to=pabeni@redhat.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=tom@herbertland.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).