diff options
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/bsd_comp.c | 2 | ||||
-rw-r--r-- | sys/net/if_ppp.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/bsd_comp.c b/sys/net/bsd_comp.c index 40aee8a..3071fc3 100644 --- a/sys/net/bsd_comp.c +++ b/sys/net/bsd_comp.c @@ -880,7 +880,7 @@ bsd_decompress(state, cmp, dmpp) wptr = mtod(dmp, u_char *); space = M_TRAILINGSPACE(dmp) - PPP_HDRLEN + 1; #ifdef MAC - mac_create_mbuf_from_mbuf(cmp, dmp); + mac_copy_mbuf(cmp, dmp); #endif /* diff --git a/sys/net/if_ppp.c b/sys/net/if_ppp.c index b59ed39..c21b663 100644 --- a/sys/net/if_ppp.c +++ b/sys/net/if_ppp.c @@ -1490,7 +1490,7 @@ ppp_inproc(sc, m) } } #ifdef MAC - mac_create_mbuf_from_mbuf(m, mp); + mac_copy_mbuf(m, mp); #endif cp = mtod(mp, u_char *); cp[0] = adrs; @@ -1544,7 +1544,7 @@ ppp_inproc(sc, m) MGETHDR(mp, M_DONTWAIT, MT_DATA); if (mp != NULL) { #ifdef MAC - mac_create_mbuf_from_mbuf(m, mp); + mac_copy_mbuf(m, mp); #endif m_copydata(m, 0, ilen, mtod(mp, caddr_t)); m_freem(m); |