diff options
author | Laurent Vivier <lvivier@redhat.com> | 2023-12-04 15:23:11 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-12-27 19:31:25 +0100 |
commit | 6a348cb435ce05d9da5348246eff867774d150d6 (patch) | |
tree | e2b8dfa7b251812912fef45278d6f07698bdb92c /tcp.h | |
parent | 57de44a4bc36a7034b2a90f44db0696f3099f75a (diff) | |
download | passt-6a348cb435ce05d9da5348246eff867774d150d6.tar passt-6a348cb435ce05d9da5348246eff867774d150d6.tar.gz passt-6a348cb435ce05d9da5348246eff867774d150d6.tar.bz2 passt-6a348cb435ce05d9da5348246eff867774d150d6.tar.lz passt-6a348cb435ce05d9da5348246eff867774d150d6.tar.xz passt-6a348cb435ce05d9da5348246eff867774d150d6.tar.zst passt-6a348cb435ce05d9da5348246eff867774d150d6.zip |
tcp: make tcp_sock_set_bufsize() static (again)
e5eefe77435a ("tcp: Refactor to use events instead of states, split out
spliced implementation") has exported tcp_sock_set_bufsize() to
be able to use it in tcp_splice.c, but 6ccab72d9b40 has removed its use
in tcp_splice.c, so we can set it static again.
Fixes: 6ccab72d9b40 ("tcp: Improve handling of fallback if socket pool is empty on new splice")
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp.h')
-rw-r--r-- | tcp.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -23,7 +23,6 @@ int tcp_init(struct ctx *c); void tcp_timer(struct ctx *c, const struct timespec *ts); void tcp_defer_handler(struct ctx *c); -void tcp_sock_set_bufsize(const struct ctx *c, int s); void tcp_update_l2_buf(const unsigned char *eth_d, const unsigned char *eth_s); /** |