From 9ffa0184e30322b160dba01f63f1ec6d8026674c Mon Sep 17 00:00:00 2001 From: David Gibson Date: Thu, 17 Nov 2022 16:58:39 +1100 Subject: tcp_splice: #include tcp_splice.h in tcp_splice.c This obvious include was omitted, which means that declarations in the header weren't checked against definitions in the .c file. This shows up an old declaration for a function that is now static, and a duplicate Signed-off-by: David Gibson Signed-off-by: Stefano Brivio --- tcp_splice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcp_splice.c') diff --git a/tcp_splice.c b/tcp_splice.c index 99c5fa7..3c5c111 100644 --- a/tcp_splice.c +++ b/tcp_splice.c @@ -49,9 +49,9 @@ #include "util.h" #include "passt.h" #include "log.h" +#include "tcp_splice.h" #define MAX_PIPE_SIZE (8UL * 1024 * 1024) -#define TCP_SPLICE_MAX_CONNS (128 * 1024) #define TCP_SPLICE_PIPE_POOL_SIZE 16 #define TCP_SPLICE_CONN_PRESSURE 30 /* % of splice_conn_count */ #define TCP_SPLICE_FILE_PRESSURE 30 /* % of c->nofile */ -- cgit v1.2.3