correct two more flag misuses; m_tag* use malloc flags

This commit is contained in:
Sam Leffler 2003-03-12 14:45:22 +00:00
parent 8abe8104f3
commit 4a692a1fc2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112148
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);