diff options
author | Eric Dumazet <edumazet@google.com> | 2020-05-06 06:51:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-06 23:45:09 +0300 |
commit | bf5525f3a8e3248be5aa5defe5aaadd60e1c1ba1 (patch) | |
tree | af4918566cfaa90205362758a7ef9ba3b0c89626 /.gitattributes | |
parent | 38212bb31fe923d0a2c6299bd2adfbb84cddef2a (diff) | |
download | linux-bf5525f3a8e3248be5aa5defe5aaadd60e1c1ba1.tar.xz |
selftests: net: tcp_mmap: clear whole tcp_zerocopy_receive struct
We added fields in tcp_zerocopy_receive structure,
so make sure to clear all fields to not pass garbage to the kernel.
We were lucky because recent additions added 'out' parameters,
still we need to clean our reference implementation, before folks
copy/paste it.
Fixes: c8856c051454 ("tcp-zerocopy: Return inq along with tcp receive zerocopy.")
Fixes: 33946518d493 ("tcp-zerocopy: Return sk_err (if set) along with tcp receive zerocopy.")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Arjun Roy <arjunroy@google.com>
Cc: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions