summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2003-03-13 00:30:31 +0000
committermux <mux@FreeBSD.org>2003-03-13 00:30:31 +0000
commit9e54553707adc602a2998bbed6fc9d43c7875ca6 (patch)
tree44f549c53fca01625f53d3960efc0a5a28d87001 /sys/net
parent96f973e7de4d8f2a11ecedfae50b316319fd1026 (diff)
downloadFreeBSD-src-9e54553707adc602a2998bbed6fc9d43c7875ca6.zip
FreeBSD-src-9e54553707adc602a2998bbed6fc9d43c7875ca6.tar.gz
Pass the correct malloc flags to m_tag_alloc().
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_vlan_var.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_vlan_var.h b/sys/net/if_vlan_var.h
index 42f2dcc..ff656a6 100644
--- a/sys/net/if_vlan_var.h
+++ b/sys/net/if_vlan_var.h
@@ -98,7 +98,7 @@ struct vlanreq {
#define VLAN_INPUT_TAG(_ifp, _m, _t, _errcase) do { \
struct m_tag *mtag; \
mtag = m_tag_alloc(MTAG_VLAN, MTAG_VLAN_TAG, \
- sizeof (u_int), M_DONTWAIT); \
+ sizeof (u_int), M_NOWAIT); \
if (mtag == NULL) { \
(_ifp)->if_ierrors++; \
m_freem(_m); \
OpenPOWER on IntegriCloud