tcp_bpf: Inline do_tcp_sendpages as it's now a wrapper around tcp_sendmsg
authorDavid Howells <dhowells@redhat.com>
Mon, 22 May 2023 12:11:15 +0000 (13:11 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 24 May 2023 03:48:27 +0000 (20:48 -0700)
commitebf2e8860eea66e2c4764316b80c6a5ee5f336ee
tree08dc1c61d947534c41a46b19441f8aa803cc7d7e
parentc5c37af6ecad955acad82a440b812eb9cd73f77f
tcp_bpf: Inline do_tcp_sendpages as it's now a wrapper around tcp_sendmsg

do_tcp_sendpages() is now just a small wrapper around tcp_sendmsg_locked(),
so inline it.  This is part of replacing ->sendpage() with a call to
sendmsg() with MSG_SPLICE_PAGES set.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: John Fastabend <john.fastabend@gmail.com>
cc: Jakub Sitnicki <jakub@cloudflare.com>
cc: David Ahern <dsahern@kernel.org>
cc: Jens Axboe <axboe@kernel.dk>
cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv4/tcp_bpf.c