diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-07-05 23:39:51 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-07-05 23:39:51 +0000 |
commit | 5e71112509f619704ade66a8c8429cb90bfff811 (patch) | |
tree | 003ec2c9d889fea416f06bf59091e4fb88ea39d8 /sys/net/bsd_comp.c | |
parent | efcac3d02eb12bd48b935fce603dac730c4f0f40 (diff) | |
download | FreeBSD-src-5e71112509f619704ade66a8c8429cb90bfff811.zip FreeBSD-src-5e71112509f619704ade66a8c8429cb90bfff811.tar.gz |
Eliminate MAC entry point mac_create_mbuf_from_mbuf(), which is
redundant with respect to existing mbuf copy label routines. Expose
a new mac_copy_mbuf() routine at the top end of the Framework and
use that; use the existing mpo_copy_mbuf_label() routine on the
bottom end.
Obtained from: TrustedBSD Project
Sponsored by: SPARTA, SPAWAR
Approved by: re (scottl)
Diffstat (limited to 'sys/net/bsd_comp.c')
-rw-r--r-- | sys/net/bsd_comp.c | 2 |
1 files changed, 1 insertions, 1 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 /* |