Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110651540
D23727.id77544.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
829 B
Referenced Files
None
Subscribers
None
D23727.id77544.diff
View Options
Index: sys/netgraph/ng_one2many.c
===================================================================
--- sys/netgraph/ng_one2many.c
+++ sys/netgraph/ng_one2many.c
@@ -451,15 +451,15 @@
/* no need to copy data for the 1st one */
dst = &priv->many[priv->activeMany[0]];
- /* make copies of data and send for all links
- * except the first one, which we'll do last
+ /* make modifiable copies of data and send for all
+ * links except the first one, which we'll do last
*/
for (i = 1; i < priv->numActiveMany; i++) {
struct mbuf *m2;
struct ng_one2many_link *mdst;
mdst = &priv->many[priv->activeMany[i]];
- m2 = m_dup(m, M_NOWAIT); /* XXX m_copypacket() */
+ m2 = m_dup(m, M_NOWAIT);
if (m2 == NULL) {
mdst->stats.memoryFailures++;
NG_FREE_ITEM(item);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 22, 11:33 AM (2 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16770514
Default Alt Text
D23727.id77544.diff (829 B)
Attached To
Mode
D23727: netgraph/ng_one2many: Clarification in comments about copy mode
Attached
Detach File
Event Timeline
Log In to Comment