diff options
-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); |