Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115813669
D39426.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
494 B
Referenced Files
None
Subscribers
None
D39426.diff
View Options
diff --git a/sys/dev/netmap/netmap_freebsd.c b/sys/dev/netmap/netmap_freebsd.c
--- a/sys/dev/netmap/netmap_freebsd.c
+++ b/sys/dev/netmap/netmap_freebsd.c
@@ -325,10 +325,17 @@
return;
}
- stolen = generic_rx_handler(ifp, m);
- if (!stolen) {
- NA(ifp)->if_input(ifp, m);
- }
+ do {
+ struct mbuf *n;
+
+ n = m->m_nextpkt;
+ m->m_nextpkt = NULL;
+ stolen = generic_rx_handler(ifp, m);
+ if (!stolen) {
+ NA(ifp)->if_input(ifp, m);
+ }
+ m = n;
+ } while (m != NULL);
}
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 30, 1:02 AM (2 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17849255
Default Alt Text
D39426.diff (494 B)
Attached To
Mode
D39426: netmap: Handle packet batches in generic mode
Attached
Detach File
Event Timeline
Log In to Comment