diff options
author | Arjun Roy <[email protected]> | 2020-12-10 11:16:03 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-12-10 13:10:32 -0800 |
commit | e0fecb289ad3fd2245cdc50bf450b97fcca39884 (patch) | |
tree | 3e80941720fd71b4783e41c7641ade1d53eb229f /lib/test_overflow.c | |
parent | a76b6b1fe8312905e3f91279f93a4c0cf3b1707c (diff) |
tcp: correctly handle increased zerocopy args struct size
A prior patch increased the size of struct tcp_zerocopy_receive
but did not update do_tcp_getsockopt() handling to properly account
for this.
This patch simply reintroduces content erroneously cut from the
referenced prior patch that handles the new struct size.
Fixes: 18fb76ed5386 ("net-zerocopy: Copy straggler unaligned data for TCP Rx. zerocopy.")
Signed-off-by: Arjun Roy <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: Soheil Hassas Yeganeh <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions