svn commit: r238151 - head/sys/dev/e1000

Jack F Vogel jfv at FreeBSD.org
Thu Jul 5 23:36:18 UTC 2012


Author: jfv
Date: Thu Jul  5 23:36:17 2012
New Revision: 238151
URL: http://svn.freebsd.org/changeset/base/238151

Log:
  Correct small regressions pointed out by jhb, thanks John.
  
  MFC after:5 days

Modified:
  head/sys/dev/e1000/if_igb.c

Modified: head/sys/dev/e1000/if_igb.c
==============================================================================
--- head/sys/dev/e1000/if_igb.c	Thu Jul  5 21:11:03 2012	(r238150)
+++ head/sys/dev/e1000/if_igb.c	Thu Jul  5 23:36:17 2012	(r238151)
@@ -767,8 +767,6 @@ igb_detach(device_t dev)
 	if (adapter->vlan_detach != NULL)
 		EVENTHANDLER_DEREGISTER(vlan_unconfig, adapter->vlan_detach);
 
-	ether_ifdetach(adapter->ifp);
-
 	callout_drain(&adapter->timer);
 
 #ifdef DEV_NETMAP
@@ -965,7 +963,7 @@ igb_mq_start(struct ifnet *ifp, struct m
 		IGB_TX_UNLOCK(txr);
 	} else {
 		err = drbr_enqueue(ifp, txr->br, m);
-		taskqueue_enqueue(que->tq, &que->que_task);
+		taskqueue_enqueue(que->tq, &txr->txq_task);
 	}
 
 	return (err);


More information about the svn-src-all mailing list