Page MenuHomeFreeBSD

D23727.id77544.diff
No OneTemporary

D23727.id77544.diff

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

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)

Event Timeline