summaryrefslogtreecommitdiffstats
path: root/sys/dev/wtap/plugins
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2012-12-04 09:32:43 +0000
committerglebius <glebius@FreeBSD.org>2012-12-04 09:32:43 +0000
commita69aaa772119d359e38760dd0e931bed9afb88bf (patch)
tree30c414dead3eba042cad7b6cbb32d1c9cba96149 /sys/dev/wtap/plugins
parent75a08a975ae27f7cf7af6db9f5ee6e87136be40d (diff)
downloadFreeBSD-src-a69aaa772119d359e38760dd0e931bed9afb88bf.zip
FreeBSD-src-a69aaa772119d359e38760dd0e931bed9afb88bf.tar.gz
Mechanically substitute flags from historic mbuf allocator with
malloc(9) flags in sys/dev.
Diffstat (limited to 'sys/dev/wtap/plugins')
-rw-r--r--sys/dev/wtap/plugins/visibility.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/wtap/plugins/visibility.c b/sys/dev/wtap/plugins/visibility.c
index 9d2624c..a73d520 100644
--- a/sys/dev/wtap/plugins/visibility.c
+++ b/sys/dev/wtap/plugins/visibility.c
@@ -151,7 +151,7 @@ visibility_work(struct wtap_plugin *plugin, struct packet *p)
struct wtap_softc *sc =
hal->hal_devs[k];
struct mbuf *m =
- m_dup(p->m, M_DONTWAIT);
+ m_dup(p->m, M_NOWAIT);
DWTAP_PRINTF("[%d] duplicated old_m=%p"
"to new_m=%p\n", p->id, p->m, m);
#if 0
OpenPOWER on IntegriCloud