aboutsummaryrefslogtreecommitdiff
path: root/sys/pci/if_xl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_xl.c')
-rw-r--r--sys/pci/if_xl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index ae078ffc8323..3f5e8c997bed 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -2046,6 +2046,8 @@ xl_rxeof(sc)
int total_len = 0;
u_int32_t rxstat;
+ XL_LOCK_ASSERT(sc);
+
ifp = &sc->arpcom.ac_if;
again:
@@ -2137,7 +2139,9 @@ again:
}
}
+ XL_UNLOCK(sc);
(*ifp->if_input)(ifp, m);
+ XL_LOCK(sc);
}
/*