From 7754e281c07de17cef2720eacd3e3e5cd7cf732e Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Wed, 22 Jan 2020 15:06:59 +0000 Subject: [PATCH] Fix NOINET kernels after r356983. All gotos to the label are within the #ifdef INET section, which leaves us with an unused label. Cover the label under #ifdef INET as well to avoid the warning and compile time error. --- sys/netinet/tcp_usrreq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index 5b1a6e70f4e..c27bf0acf65 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -679,7 +679,9 @@ tcp6_usr_connect(struct socket *so, struct sockaddr *nam, struct thread *td) tcp_timer_activate(tp, TT_KEEP, TP_KEEPINIT(tp)); NET_EPOCH_ENTER(et); error = tp->t_fb->tfb_tcp_output(tp); +#ifdef INET out_in_epoch: +#endif NET_EPOCH_EXIT(et); out: /*