mirror of
https://passt.top/passt
synced 2025-09-23 02:09:13 +02:00
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 <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
698e4fd761
commit
9ffa0184e3
2 changed files with 1 additions and 4 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue