diff options
author | Paolo Abeni <[email protected]> | 2021-10-26 16:29:14 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-10-27 18:20:29 -0700 |
commit | 292e6077b04091d138bae6010fb9fdc958170d64 (patch) | |
tree | 70c8a775138f862290e0eebd741bc8a7358da601 /scripts/gdb/linux/lists.py | |
parent | 5823fc96d754d824bb298622055e8dd5e1252122 (diff) |
net: introduce sk_forward_alloc_get()
A later patch will change the MPTCP memory accounting schema
in such a way that MPTCP sockets will encode the total amount of
forward allocated memory in two separate fields (one for tx and
one for rx).
MPTCP sockets will use their own helper to provide the accurate
amount of fwd allocated memory.
To allow the above, this patch adds a new, optional, sk method to
fetch the fwd memory, wrap the call in a new helper and use it
where it is appropriate.
Signed-off-by: Paolo Abeni <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions