net: inline sock_alloc_send_skb
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 28 Apr 2022 10:58:44 +0000 (11:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Apr 2022 11:58:44 +0000 (12:58 +0100)
commitde32bc6aad09131a30b4a9a738e2bf2ba5a9a5aa
tree88629ee0c129dbf388db04a031238c64575471f2
parent0813aeee0d02d80912c86b2b3a1ebdb4ee4476ba
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>
include/net/sock.h
net/core/sock.c