tcp: make tcp_lro_flush() static
tcp_lro_flush() is not used anymore outside of tcp_lro.c. Therefore make it static. Reviewed by: rscheff, glebius, Peter Lei Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D46435
This commit is contained in:
@@ -83,6 +83,7 @@ static MALLOC_DEFINE(M_LRO, "LRO", "LRO control structures");
|
||||
static void tcp_lro_rx_done(struct lro_ctrl *lc);
|
||||
static int tcp_lro_rx_common(struct lro_ctrl *lc, struct mbuf *m,
|
||||
uint32_t csum, bool use_hash);
|
||||
static void tcp_lro_flush(struct lro_ctrl *lc, struct lro_entry *le);
|
||||
|
||||
SYSCTL_NODE(_net_inet_tcp, OID_AUTO, lro, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
|
||||
"TCP LRO");
|
||||
@@ -1104,7 +1105,7 @@ tcp_lro_condense(struct lro_ctrl *lc, struct lro_entry *le)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
tcp_lro_flush(struct lro_ctrl *lc, struct lro_entry *le)
|
||||
{
|
||||
|
||||
|
||||
@@ -216,7 +216,6 @@ int tcp_lro_init(struct lro_ctrl *);
|
||||
int tcp_lro_init_args(struct lro_ctrl *, struct ifnet *, unsigned, unsigned);
|
||||
void tcp_lro_free(struct lro_ctrl *);
|
||||
void tcp_lro_flush_inactive(struct lro_ctrl *, const struct timeval *);
|
||||
void tcp_lro_flush(struct lro_ctrl *, struct lro_entry *);
|
||||
void tcp_lro_flush_all(struct lro_ctrl *);
|
||||
extern int (*tcp_lro_flush_tcphpts)(struct lro_ctrl *, struct lro_entry *);
|
||||
int tcp_lro_rx(struct lro_ctrl *, struct mbuf *, uint32_t);
|
||||
|
||||
Reference in New Issue
Block a user