diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-03-16 22:48:44 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-03-16 22:48:44 +0000 |
commit | b3dfb47d5b6ef4043c25753613566aac5d62ef5f (patch) | |
tree | 2e824955f7dc1e6d5652230304d2c4643434ba94 /sbin/pfctl | |
parent | 6588e4f22e3472c3d54c68e5f84dea9c206a0f87 (diff) |
Set rx_ndescs to zero when initializing the rx ring. Otherwise we'll
effectively lose receive descriptors each time we reset the interface, until
we run out of descriptors and panic. Should fix the "em_rxeof: NULL mbuf in
slot 0 (nrx 256, filled 255)" panic on em(4).
ok jsing@ (for the em(4) bits), jsg@
Diffstat (limited to 'sbin/pfctl')
0 files changed, 0 insertions, 0 deletions