summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_xlreg.h
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2005-05-20 07:16:09 +0000
committerglebius <glebius@FreeBSD.org>2005-05-20 07:16:09 +0000
commita74a3160f2b77dde29853a0366d865e72c4cb828 (patch)
treef165b80121d201f329e45da3a6b38af0aeaa167c /sys/pci/if_xlreg.h
parentac2cc57f35ae2ef77a63981087121b4033447d27 (diff)
downloadFreeBSD-src-a74a3160f2b77dde29853a0366d865e72c4cb828.zip
FreeBSD-src-a74a3160f2b77dde29853a0366d865e72c4cb828.tar.gz
Calling xl_rxeof() at the end of xl_start_locked() leads to recursion
in case of IP fast forwarding. Enqueue a taskqueue(9) task instead of calling xl_rxeof() directly. Reported & tested by: Slava Alpatov Reviewed by: wpaul MFC after: 1 week
Diffstat (limited to 'sys/pci/if_xlreg.h')
-rw-r--r--sys/pci/if_xlreg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/pci/if_xlreg.h b/sys/pci/if_xlreg.h
index 8fbcc53..6b2829f 100644
--- a/sys/pci/if_xlreg.h
+++ b/sys/pci/if_xlreg.h
@@ -607,6 +607,7 @@ struct xl_softc {
bus_space_handle_t xl_fhandle;
bus_space_tag_t xl_ftag;
struct mtx xl_mtx;
+ struct task xl_task;
#ifdef DEVICE_POLLING
int rxcycles;
#endif
OpenPOWER on IntegriCloud