Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148356489
D22390.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
430 B
Referenced Files
None
Subscribers
None
D22390.id.diff
View Options
Index: head/sys/net/netmap_user.h
===================================================================
--- head/sys/net/netmap_user.h
+++ head/sys/net/netmap_user.h
@@ -981,7 +981,8 @@
static int
nm_mmap(struct nm_desc *d, const struct nm_desc *parent)
{
- //XXX TODO: check if mmap is already done
+ if (d->done_mmap)
+ return 0;
if (IS_NETMAP_DESC(parent) && parent->mem &&
parent->req.nr_arg2 == d->req.nr_arg2) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 18, 8:19 AM (13 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29893763
Default Alt Text
D22390.id.diff (430 B)
Attached To
Mode
D22390: netmap: Check if we already ran mmap before we attempt it
Attached
Detach File
Event Timeline
Log In to Comment