]> Git Repo - linux.git/commit
selftests: net: tcp_mmap: fix SO_RCVLOWAT setting
authorEric Dumazet <[email protected]>
Wed, 6 May 2020 16:21:15 +0000 (09:21 -0700)
committerDavid S. Miller <[email protected]>
Wed, 6 May 2020 22:01:30 +0000 (15:01 -0700)
commita84724178bd7081cf3bd5b558616dd6a9a4ca63b
tree785e03e9831197f6be9ae736575127951ee83fb7
parentf5dda315b63775fe00f5470687d40ce801ddfb38
selftests: net: tcp_mmap: fix SO_RCVLOWAT setting

Since chunk_size is no longer an integer, we can not
use it directly as an argument of setsockopt().

This patch should fix tcp_mmap for Big Endian kernels.

Fixes: 597b01edafac ("selftests: net: avoid ptl lock contention in tcp_mmap")
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Soheil Hassas Yeganeh <[email protected]>
Cc: Arjun Roy <[email protected]>
Acked-by: Soheil Hassas Yeganeh <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
tools/testing/selftests/net/tcp_mmap.c
This page took 0.056762 seconds and 4 git commands to generate.