diff options
| author | Eric Dumazet <edumazet@google.com> | 2025-10-13 15:22:31 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-10-15 09:04:21 -0700 |
| commit | 6ddb811a579f87b8506344020002d396f814f7c8 (patch) | |
| tree | 63816b8df0dfd74585709b6d8f28a0ca8b2a57e8 /net/core/sysctl_net_core.c | |
| parent | 1c51450f1afff1e7419797720df3fbd9ccbf610c (diff) | |
net: add SK_WMEM_ALLOC_BIAS constant
sk->sk_wmem_alloc is initialized to 1, and sk_wmem_alloc_get()
takes care of this initial value.
Add SK_WMEM_ALLOC_BIAS define to not spread this magic value.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20251013152234.842065-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/sysctl_net_core.c')
0 files changed, 0 insertions, 0 deletions