svn commit: r277130 - head/sys/dev/ixl

Bjoern A. Zeeb bz at FreeBSD.org
Tue Jan 13 14:15:01 UTC 2015


Author: bz
Date: Tue Jan 13 14:15:00 2015
New Revision: 277130
URL: https://svnweb.freebsd.org/changeset/base/277130

Log:
  Move the vsi variable outside of the #ifdef block to unbreak NOIP kernels
  after r277084.
  
  MFC after:	6 days
  X-MFC with:	r277084

Modified:
  head/sys/dev/ixl/ixl_txrx.c

Modified: head/sys/dev/ixl/ixl_txrx.c
==============================================================================
--- head/sys/dev/ixl/ixl_txrx.c	Tue Jan 13 14:03:56 2015	(r277129)
+++ head/sys/dev/ixl/ixl_txrx.c	Tue Jan 13 14:15:00 2015	(r277130)
@@ -1108,8 +1108,8 @@ int
 ixl_init_rx_ring(struct ixl_queue *que)
 {
 	struct	rx_ring 	*rxr = &que->rxr;
-#if defined(INET6) || defined(INET)
 	struct ixl_vsi		*vsi = que->vsi;
+#if defined(INET6) || defined(INET)
 	struct ifnet		*ifp = vsi->ifp;
 	struct lro_ctrl		*lro = &rxr->lro;
 #endif


More information about the svn-src-all mailing list