Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162638298
D57550.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
621 B
Referenced Files
None
Subscribers
None
D57550.diff
View Options
diff --git a/sys/net/iflib.c b/sys/net/iflib.c
--- a/sys/net/iflib.c
+++ b/sys/net/iflib.c
@@ -3687,8 +3687,9 @@
remap = 1;
goto defrag;
}
+ goto defrag_failed;
}
- goto defrag_failed;
+ goto out_with_error;
}
/*
* err can't possibly be non-zero here, so we don't neet to test it
@@ -3697,13 +3698,15 @@
return (err);
defrag_failed:
+ err = ENOMEM;
txq->ift_mbuf_defrag_failed++;
+out_with_error:
txq->ift_map_failed++;
m_freem(*m_headp);
DBG_COUNTER_INC(tx_frees);
*m_headp = NULL;
DBG_COUNTER_INC(encap_txd_encap_fail);
- return (ENOMEM);
+ return (err);
}
static void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 16, 7:26 AM (13 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33926848
Default Alt Text
D57550.diff (621 B)
Attached To
Mode
D57550: iflib: handle transient errors from isc_txd_encap()
Attached
Detach File
Event Timeline
Log In to Comment