Skip to content

udp: add missing check on edumx rx path

Paolo Abeni netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2udp4: fix IP_CMSG_CHECKSUM for connected socketsnet/ipv4/udp.c+26 -230 replies
2/2udp6: add missing checks on edumux packet processingnet/ipv6/udp.c+37 -280 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/2] udp: add missing check on edumx rx path

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(-)
Signature · 1 line
2.17.1