diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2012-12-10 10:38:57 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2012-12-10 10:38:57 +0000 |
commit | b22a9a65ea0b3ddf62bc34748a7516266438fa95 (patch) | |
tree | 3161796479a44b1787a14e410e2edeb76c582344 /sys/dev/pci/if_bnxreg.h | |
parent | 3c5c51272495548adeece566befea44fb6300748 (diff) |
Under some circumstances (currently only reproducible with IPsec)
bnx can be left w/o clusters on the receive ring and will stall.
To prevent that schedule a timeout if refill fails. Bug was
reported by jj@, fix tested by me, ok dlg
Diffstat (limited to 'sys/dev/pci/if_bnxreg.h')
-rw-r--r-- | sys/dev/pci/if_bnxreg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_bnxreg.h b/sys/dev/pci/if_bnxreg.h index ce73c95693a..1dd2bcc6659 100644 --- a/sys/dev/pci/if_bnxreg.h +++ b/sys/dev/pci/if_bnxreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bnxreg.h,v 1.38 2012/07/05 13:50:15 phessler Exp $ */ +/* $OpenBSD: if_bnxreg.h,v 1.39 2012/12/10 10:38:56 mikeb Exp $ */ /*- * Copyright (c) 2006 Broadcom Corporation @@ -4869,6 +4869,7 @@ struct bnx_softc { int bnx_link; struct timeout bnx_timeout; + struct timeout bnx_rxrefill; /* Frame size and mbuf allocation size for RX frames. */ u_int32_t max_frame_size; |