mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
Remove invalid assertion.
Holding the adapter lock while changing the LRO settings is sufficient. PR: kern/146759 MFC after: 3 days
This commit is contained in:
parent
6d21d06d6c
commit
cb958aba98
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=208356
@ -1979,7 +1979,6 @@ cxgb_set_lro(struct port_info *p, int enabled)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user