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.
This commit is contained in:
Bjoern A. Zeeb 2020-01-22 15:06:59 +00:00
parent 156ebad647
commit 7754e281c0

View file

@ -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:
/*