diff options
author | John Fastabend | 2020-11-16 14:28:26 -0800 |
---|---|---|
committer | Daniel Borkmann | 2020-11-18 00:12:37 +0100 |
commit | 70796fb751f1d34cc650e640572a174faf009cd4 (patch) | |
tree | 8d41d820e002f1bb34fc94adecb835a01ef0883d /net/bluetooth | |
parent | 36cd0e696a832a00247fca522034703566ac8885 (diff) |
bpf, sockmap: Use truesize with sk_rmem_schedule()
We use skb->size with sk_rmem_scheduled() which is not correct. Instead
use truesize to align with socket and tcp stack usage of sk_rmem_schedule.
Suggested-by: Daniel Borkman <daniel@iogearbox.net>
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com>
Link: https://lore.kernel.org/bpf/160556570616.73229.17003722112077507863.stgit@john-XPS-13-9370
Diffstat (limited to 'net/bluetooth')
0 files changed, 0 insertions, 0 deletions