diff options
Diffstat (limited to 'sys/net/if_tap.c')
-rw-r--r-- | sys/net/if_tap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_tap.c b/sys/net/if_tap.c index 5c8da74..45bd7d2 100644 --- a/sys/net/if_tap.c +++ b/sys/net/if_tap.c @@ -948,7 +948,7 @@ tapwrite(struct cdev *dev, struct uio *uio, int flag) return (EIO); } - if ((m = m_uiotombuf(uio, M_DONTWAIT, 0, ETHER_ALIGN, + if ((m = m_uiotombuf(uio, M_NOWAIT, 0, ETHER_ALIGN, M_PKTHDR)) == NULL) { ifp->if_ierrors ++; return (ENOBUFS); |