]> git.baikalelectronics.ru Git - kernel.git/commit
sock: fix error in sock_setsockopt()
authorEric Dumazet <edumazet@google.com>
Fri, 2 Jul 2021 14:41:01 +0000 (07:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jul 2021 20:32:55 +0000 (13:32 -0700)
commitd851f3dd72bc7c764dfdbc21a8bf335b7f13a62b
tree0ee190fc4cba40742c2c439ce0a41869c317e73d
parent7887cd1cffb0308a1f14a7cc637b973fffb15244
sock: fix error in sock_setsockopt()

Some tests are failing, John bisected the issue to a recent commit.

sock_set_timestamp() parameters should be :

1) sk
2) optname
3) valbool

Fixes: a7812f90b6bd ("sock: expose so_timestamp options for mptcp")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Bisected-by: John Sperbeck <jsperbeck@google.com>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: Florian Westphal <fw@strlen.de>
Cc: Mat Martineau <mathew.j.martineau@linux.intel.com>
Reviewed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock.c