]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite0416c0387cccc48894be53af29fede470c3ce7b
tree88629ee0c129dbf388db04a031238c64575471f2
parent565e4f5640ae4213cba02729c9efec2859faf5c5
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