Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2021 19:17:04 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        gljennjohn@gmail.com, current@freebsd.org, Drew Gallatin <gallatin@netflix.com>, "Bjoern A. Zeeb" <bz@FreeBSD.org>
Subject:   Re: unused function errors in tcp_lro.c
Message-ID:  <8507a692-c323-f6aa-5fb3-25fd2540ac08@selasky.org>
In-Reply-To: <20210217171239.53abc343@ernst.home>
References:  <20210217171239.53abc343@ernst.home>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/17/21 6:12 PM, Gary Jennejohn wrote:
> Running buildkernel after 48e62e6561b..effe8b9cb31
> 
> --------------------------------------------------------------
>>>> stage 3.1: building everything
> --------------------------------------------------------------
> /usr/src/sys/netinet/tcp_lro.c:1297:1: warning: unused function 'build_ack_entry' [-Wunused-function]
> build_ack_entry(struct tcp_ackent *ae, struct tcphdr *th, struct mbuf *m, uint16_t hdr_len, uint16_t iptos)
> ^
> /usr/src/sys/netinet/tcp_lro.c:1339:1: warning: unused function 'do_bpf_and_csum' [-Wunused-function]
> do_bpf_and_csum(struct inpcb *inp, struct lro_ctrl *lc, struct lro_entry *le,
> ^
> 2 warnings generated.
> 
> These function declarations should be gated using #ifdef TCPHPTS.
> 

Drew, Bjoern - any comments?

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8507a692-c323-f6aa-5fb3-25fd2540ac08>