Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2013 00:50:53 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256868 - head/sys/dev/xen/netback
Message-ID:  <201310220050.r9M0orao077816@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Tue Oct 22 00:50:53 2013
New Revision: 256868
URL: http://svnweb.freebsd.org/changeset/base/256868

Log:
  Make netback compile without INET support in the kernel.
  
  This shuld have been a problem since r230587.  Not exactly sure why it
  was not detected the last weeks with the tinderbox.  I would assume
  r255744 is what started to cause it.
  
  MFC after:	1 week

Modified:
  head/sys/dev/xen/netback/netback.c

Modified: head/sys/dev/xen/netback/netback.c
==============================================================================
--- head/sys/dev/xen/netback/netback.c	Mon Oct 21 23:46:37 2013	(r256867)
+++ head/sys/dev/xen/netback/netback.c	Tue Oct 22 00:50:53 2013	(r256868)
@@ -2191,8 +2191,8 @@ static int
 xnb_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
 {
 	struct xnb_softc *xnb = ifp->if_softc;
-#ifdef INET
 	struct ifreq *ifr = (struct ifreq*) data;
+#ifdef INET
 	struct ifaddr *ifa = (struct ifaddr*)data;
 #endif
 	int error = 0;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310220050.r9M0orao077816>