summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/ng_bridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_bridge.c b/sys/netgraph/ng_bridge.c
index 81ffa68..56b1e66 100644
--- a/sys/netgraph/ng_bridge.c
+++ b/sys/netgraph/ng_bridge.c
@@ -675,7 +675,7 @@ ng_bridge_rcvdata(hook_p hook, struct mbuf *m, meta_p meta,
m2 = m;
meta2 = meta;
} else {
- m2 = m_copypacket(m, M_NOWAIT); /* XXX m_dup()? */
+ m2 = m_dup(m, M_NOWAIT); /* XXX m_copypacket() */
if (m2 == NULL) {
link->stats.memoryFailures++;
NG_FREE_DATA(m, meta);
OpenPOWER on IntegriCloud