[PATCH net-next v2 0/6] fix incorrect parameter validation in the *_get_sockopt() functions

From: Gavrilov Ilia
Date: Thu Mar 07 2024 - 09:24:13 EST


This v2 series fix incorrent parameter validation in *_get_sockopt()
functions in several places.

version 2 changes:
- reword the patch description
- add two patches for net/kcm and net/x25


Gavrilov Ilia (6):
tcp: fix incorrect parameter validation in the do_tcp_getsockopt()
function@@
udp: fix incorrect parameter validation in the udp_lib_getsockopt()
function@@
ipmr: fix incorrect parameter validation in the ip_mroute_getsockopt()
function@@
l2tp: fix incorrect parameter validation in the pppol2tp_getsockopt()
function@@
net: kcm: fix incorrect parameter validation in the kcm_getsockopt)
function@@
net/x25: fix incorrect parameter validation in the x25_getsockopt()
function@@

net/ipv4/ipmr.c | 4 +++-
net/ipv4/tcp.c | 4 ++--
net/ipv4/udp.c | 4 ++--
net/kcm/kcmsock.c | 3 ++-
net/l2tp/l2tp_ppp.c | 4 ++--
net/x25/af_x25.c | 4 ++--
6 files changed, 13 insertions(+), 10 deletions(-)

--
2.39.2