summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-08-26 15:50:28 +0300
committerPaolo Abeni <pabeni@redhat.com>2025-08-28 14:14:50 +0300
commitcb4d5a6eb600a43c2e3ec7f54e06d07aa33d8062 (patch)
tree58388c6eb90d6b3b07e2400e8dbf642f45904e9c /include/linux
parentf86f42ed2c471da5b061492bb8ab1d3d73c19c58 (diff)
downloadlinux-cb4d5a6eb600a43c2e3ec7f54e06d07aa33d8062.tar.xz
net: add sk_drops_skbadd() helper
Existing sk_drops_add() helper is renamed to sk_drops_skbadd(). Add sk_drops_add() and convert sk_drops_inc() to use it. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com> Link: https://patch.msgid.link/20250826125031.1578842-3-edumazet@google.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/skmsg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/skmsg.h b/include/linux/skmsg.h
index 0b9095a281b8..49847888c287 100644
--- a/include/linux/skmsg.h
+++ b/include/linux/skmsg.h
@@ -315,7 +315,7 @@ static inline bool sk_psock_test_state(const struct sk_psock *psock,
static inline void sock_drop(struct sock *sk, struct sk_buff *skb)
{
- sk_drops_add(sk, skb);
+ sk_drops_skbadd(sk, skb);
kfree_skb(skb);
}