svn commit: r208356 - head/sys/dev/cxgb

Navdeep Parhar np at FreeBSD.org
Thu May 20 18:22:45 UTC 2010


Author: np
Date: Thu May 20 18:22:45 2010
New Revision: 208356
URL: http://svn.freebsd.org/changeset/base/208356

Log:
  Remove invalid assertion.
  
  Holding the adapter lock while changing the LRO settings is sufficient.
  
  PR:		kern/146759
  MFC after:	3 days

Modified:
  head/sys/dev/cxgb/cxgb_main.c

Modified: head/sys/dev/cxgb/cxgb_main.c
==============================================================================
--- head/sys/dev/cxgb/cxgb_main.c	Thu May 20 17:30:55 2010	(r208355)
+++ head/sys/dev/cxgb/cxgb_main.c	Thu May 20 18:22:45 2010	(r208356)
@@ -1979,7 +1979,6 @@ cxgb_set_lro(struct port_info *p, int en
 	struct adapter *adp = p->adapter;
 	struct sge_qset *q;
 
-	PORT_LOCK_ASSERT_OWNED(p);
 	for (i = 0; i < p->nqsets; i++) {
 		q = &adp->sge.qs[p->first_qset + i];
 		q->lro.enabled = (enabled != 0);


More information about the svn-src-head mailing list