diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-04-28 13:58:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-30 14:58:44 +0300 |
commit | de32bc6aad09131a30b4a9a738e2bf2ba5a9a5aa (patch) | |
tree | 88629ee0c129dbf388db04a031238c64575471f2 /net/core/sock.c | |
parent | 0813aeee0d02d80912c86b2b3a1ebdb4ee4476ba (diff) | |
download | linux-de32bc6aad09131a30b4a9a738e2bf2ba5a9a5aa.tar.xz |
net: inline sock_alloc_send_skb
sock_alloc_send_skb() is simple and just proxying to another function,
so we can inline it and cut associated overhead.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/sock.c')
-rw-r--r-- | net/core/sock.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/net/core/sock.c b/net/core/sock.c index 770408fd935f..b164618f2cb6 100644 --- a/net/core/sock.c +++ b/net/core/sock.c @@ -2635,13 +2635,6 @@ failure: } EXPORT_SYMBOL(sock_alloc_send_pskb); -struct sk_buff *sock_alloc_send_skb(struct sock *sk, unsigned long size, - int noblock, int *errcode) -{ - return sock_alloc_send_pskb(sk, size, 0, noblock, errcode, 0); -} -EXPORT_SYMBOL(sock_alloc_send_skb); - int __sock_cmsg_send(struct sock *sk, struct msghdr *msg, struct cmsghdr *cmsg, struct sockcm_cookie *sockc) { |