diff options
author | sam <sam@FreeBSD.org> | 2003-03-12 14:45:22 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2003-03-12 14:45:22 +0000 |
commit | e0702e06b4f6ac66a13d2b0b9994c6cb6eda3db4 (patch) | |
tree | 6b15f6e7407f5e9d150f9bf66c02a0d1656dbb88 | |
parent | 3a1ecd069b1d3fbbc2acb5ca5885e270aed8c9c2 (diff) | |
download | FreeBSD-src-e0702e06b4f6ac66a13d2b0b9994c6cb6eda3db4.zip FreeBSD-src-e0702e06b4f6ac66a13d2b0b9994c6cb6eda3db4.tar.gz |
correct two more flag misuses; m_tag* use malloc flags
-rw-r--r-- | sys/net/if_vlan.c | 2 | ||||
-rw-r--r-- | sys/netinet/ip_encap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c index 4e55f14..5fe0a0a 100644 --- a/sys/net/if_vlan.c +++ b/sys/net/if_vlan.c @@ -323,7 +323,7 @@ vlan_start(struct ifnet *ifp) struct m_tag *mtag = m_tag_alloc(MTAG_VLAN, MTAG_VLAN_TAG, sizeof (u_int), - M_DONTWAIT); + M_NOWAIT); if (mtag == NULL) { ifp->if_oerrors++; m_freem(m); diff --git a/sys/netinet/ip_encap.c b/sys/netinet/ip_encap.c index 478cdfa..a547c66 100644 --- a/sys/netinet/ip_encap.c +++ b/sys/netinet/ip_encap.c @@ -487,7 +487,7 @@ encap_fillarg(m, ep) { struct m_tag *tag; - tag = m_tag_get(PACKET_TAG_ENCAP, sizeof (void*), M_DONTWAIT); + tag = m_tag_get(PACKET_TAG_ENCAP, sizeof (void*), M_NOWAIT); if (tag) { *(void**)(tag+1) = ep->arg; m_tag_prepend(m, tag); |