diff options
author | Kuniyuki Iwashima <kuniyu@google.com> | 2025-07-11 05:32:07 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-11 07:31:41 -0700 |
commit | a3c4a125ec725cefb40047eb05ff9eafd57830b4 (patch) | |
tree | 8e17c6f6bdad8e3b485bde30e5b56492f910b2f2 /net/lapb/lapb_timer.c | |
parent | 52c14ea7d7580de164deab1e756eaf854dac85b2 (diff) |
netlink: Fix rmem check in netlink_broadcast_deliver().
We need to allow queuing at least one skb even when skb is
larger than sk->sk_rcvbuf.
The cited commit made a mistake while converting a condition
in netlink_broadcast_deliver().
Let's correct the rmem check for the allow-one-skb rule.
Fixes: ae8f160e7eb24 ("netlink: Fix wraparounds of sk->sk_rmem_alloc.")
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20250711053208.2965945-1-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions