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

[ Available lists | Index of svn-src-head | Month of May 2010 | Week of 20 May 2010 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Navdeep Parhar <np@FreeBSD.org>
Date
20 May 2010 18:22:45
Subject
svn commit: r208356 - head/sys/dev/cxgb
Message-ID
201005201822.o4KIMj3W073040@svn.freebsd.org


[ Hide this part ]
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);


Elapsed time: 1.370 seconds