I do not think so. Please check latest linux kernel, not some old version. commit 4057765f2dee79cb92f9067909477303360be8d3 sock: consistent handling of extreme SO_SNDBUF/SO_RCVBUF values
In fact, I just implemented this function with reference to sock_setsockopt(). When val * 2 overflow, we will set the buffer as SOCK_MIN_SNDBUF, just as sock_setsockopt() do.
If we set sysctl_wmem_max or sysctl_rmem_max larger than INT_MAX, the send/receive buffer of sock will be an negative value. Same as when the val is larger than INT_MAX/2. Fixes: 1c003b1580e2 ("ipvs: