summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorJohn Fastabend <john.fastabend@gmail.com>2018-08-28 09:10:45 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2018-08-29 17:29:54 +0200
commitb5d83fec732dc98e37b22e8b20a7943aa0bb55d9 (patch)
tree1f19eeeabc81e56ff6ad4a920a55901ac89d8e19 /Kbuild
parentefbaec89c642cd1d4977fc6df9923697e1598d4e (diff)
downloadlinux-b5d83fec732dc98e37b22e8b20a7943aa0bb55d9.tar.gz
linux-b5d83fec732dc98e37b22e8b20a7943aa0bb55d9.tar.bz2
linux-b5d83fec732dc98e37b22e8b20a7943aa0bb55d9.zip
bpf: sockmap test remove shutdown() calls
Currently, we do a shutdown(sk, SHUT_RDWR) on both peer sockets and a shutdown on the sender as well. However, this is incorrect and can occasionally cause issues if you happen to have bad timing. First peer1 or peer2 may still be in use depending on the test and timing. Second we really should only be closing the read side and/or write side depending on if the test is receiving or sending. But, really none of this is needed just remove the shutdown calls. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions