aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/rcutorture/bin/functions.sh
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-04-16 22:31:14 +0200
committerDavid S. Miller <davem@davemloft.net>2019-04-16 21:52:22 -0700
commite6986423d28362aafe64d3757bbbc493f2687f8f (patch)
tree3384dd702aef59c433480ee1dd8c11d05b15ded9 /tools/testing/selftests/rcutorture/bin/functions.sh
parenttcp: tcp_grow_window() needs to respect tcp_space() (diff)
downloadlinux-dev-e6986423d28362aafe64d3757bbbc493f2687f8f.tar.xz
linux-dev-e6986423d28362aafe64d3757bbbc493f2687f8f.zip
socket: fix compat SO_RCVTIMEO_NEW/SO_SNDTIMEO_NEW
It looks like the new socket options only work correctly for native execution, but in case of compat mode fall back to the old behavior as we ignore the 'old_timeval' flag. Rework so we treat SO_RCVTIMEO_NEW/SO_SNDTIMEO_NEW the same way in compat and native 32-bit mode. Cc: Deepa Dinamani <deepa.kernel@gmail.com> Fixes: a9beb86ae6e5 ("sock: Add SO_RCVTIMEO_NEW and SO_SNDTIMEO_NEW") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Deepa Dinamani <deepa.kernel@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/rcutorture/bin/functions.sh')
0 files changed, 0 insertions, 0 deletions