summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2007-10-24 19:04:04 +0000
committerRobert Watson <rwatson@FreeBSD.org>2007-10-24 19:04:04 +0000
commit30d239bc4c510432e65a84fa1c14ed67a3ab1c92 (patch)
treefea282db79628eed98808fd38cc46445b2f97ca5 /sys/netinet/tcp_subr.c
parent21439626472b5a6d5317cc38b361bc2368f97d93 (diff)
Notes
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 64d18359bfff..688a5d20e72d 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -525,13 +525,13 @@ tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th, struct mbuf *m,
* label of the response to reflect the socket label.
*/
INP_LOCK_ASSERT(inp);
- mac_create_mbuf_from_inpcb(inp, m);
+ mac_inpcb_create_mbuf(inp, m);
} else {
/*
* Packet is not associated with a socket, so possibly
* update the label in place.
*/
- mac_reflect_mbuf_tcp(m);
+ mac_netinet_tcp_reply(m);
}
#endif
nth->th_seq = htonl(seq);