svn commit: r256868 - head/sys/dev/xen/netback
Bjoern A. Zeeb
bz at FreeBSD.org
Tue Oct 22 00:50:54 UTC 2013
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;
More information about the svn-src-all
mailing list