diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2016-09-15 07:41:48 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2016-09-15 07:41:48 +0000 |
commit | c3bef61e584084a8f86fba71cb344f15fc20491c (patch) | |
tree | e55fa8ff38c04c3cbeb8c1f0965d9bc0213f4d61 /sys/net/if_arcsubr.c | |
parent | 6c6e3889290a73ddae85c68de44d928a838501ed (diff) |
Notes
Diffstat (limited to 'sys/net/if_arcsubr.c')
-rw-r--r-- | sys/net/if_arcsubr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_arcsubr.c b/sys/net/if_arcsubr.c index 3bf372baba6c9..6296e2e267dd9 100644 --- a/sys/net/if_arcsubr.c +++ b/sys/net/if_arcsubr.c @@ -225,7 +225,7 @@ arc_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, if ((ifp->if_flags & IFF_SIMPLEX) && (loop_copy != -1)) { if ((m->m_flags & M_BCAST) || (loop_copy > 0)) { - struct mbuf *n = m_copy(m, 0, (int)M_COPYALL); + struct mbuf *n = m_copym(m, 0, M_COPYALL, M_NOWAIT); (void) if_simloop(ifp, n, dst->sa_family, ARC_HDRLEN); } else if (ah->arc_dhost == ah->arc_shost) { |