[PATCH 6.1 227/451] udp: fix incorrect parameter validation in the udp_lib_getsockopt() function