svn commit: r356986 - head/sys/netinet

Bjoern A. Zeeb bz at FreeBSD.org
Wed Jan 22 15:07:00 UTC 2020


Author: bz
Date: Wed Jan 22 15:06:59 2020
New Revision: 356986
URL: https://svnweb.freebsd.org/changeset/base/356986

Log:
  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.

Modified:
  head/sys/netinet/tcp_usrreq.c

Modified: head/sys/netinet/tcp_usrreq.c
==============================================================================
--- head/sys/netinet/tcp_usrreq.c	Wed Jan 22 14:07:27 2020	(r356985)
+++ head/sys/netinet/tcp_usrreq.c	Wed Jan 22 15:06:59 2020	(r356986)
@@ -679,7 +679,9 @@ tcp6_usr_connect(struct socket *so, struct sockaddr *n
 	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:
 	/*


More information about the svn-src-head mailing list