summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-04-29 03:45:06 +0300
committerJakub Kicinski <kuba@kernel.org>2022-04-30 04:55:27 +0300
commitf94fd25cb0aaf77fd7453f31c5d394a1a68ecf60 (patch)
tree5a746a51c0bcfa087d4d0bc097c634e0e5c1b888 /scripts/gdb/linux/utils.py
parentaf2d861d4cd2a4da5137f795ee3509e6f944a25b (diff)
downloadlinux-f94fd25cb0aaf77fd7453f31c5d394a1a68ecf60.tar.xz
tcp: pass back data left in socket after receive
This is currently done for CMSG_INQ, add an ability to do so via struct msghdr as well and have CMSG_INQ use that too. If the caller sets msghdr->msg_get_inq, then we'll pass back the hint in msghdr->msg_inq. Rearrange struct msghdr a bit so we can add this member while shrinking it at the same time. On a 64-bit build, it was 96 bytes before this change and 88 bytes afterwards. Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Link: https://lore.kernel.org/r/650c22ca-cffc-0255-9a05-2413a1e20826@kernel.dk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions