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_iso88025subr.c | |
parent | 6c6e3889290a73ddae85c68de44d928a838501ed (diff) | |
download | src-c3bef61e584084a8f86fba71cb344f15fc20491c.tar.gz src-c3bef61e584084a8f86fba71cb344f15fc20491c.zip |
Remove the 4.3BSD compatible macro m_copy(), use m_copym() instead.
Reviewed by: gnn
Differential Revision: https://reviews.freebsd.org/D7878
Notes
Notes:
svn path=/head/; revision=305824
Diffstat (limited to 'sys/net/if_iso88025subr.c')
-rw-r--r-- | sys/net/if_iso88025subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_iso88025subr.c b/sys/net/if_iso88025subr.c index 8306154e5675..e5d5166d60c4 100644 --- a/sys/net/if_iso88025subr.c +++ b/sys/net/if_iso88025subr.c @@ -364,7 +364,7 @@ iso88025_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; - n = m_copy(m, 0, (int)M_COPYALL); + n = m_copym(m, 0, M_COPYALL, M_NOWAIT); (void) if_simloop(ifp, n, dst->sa_family, ISO88025_HDR_LEN); } else if (bcmp(th->iso88025_dhost, th->iso88025_shost, |