summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_output.c
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2004-02-03 18:20:55 +0000
committerume <ume@FreeBSD.org>2004-02-03 18:20:55 +0000
commitde3407d02868da17b84be20a37bee2f9d4b5ad99 (patch)
treed4a15c08d97fd84eaa902735fd317261af259609 /sys/netinet/tcp_output.c
parent509193a62ff6f66dabb660a8509266c59d098ce9 (diff)
downloadFreeBSD-src-de3407d02868da17b84be20a37bee2f9d4b5ad99.zip
FreeBSD-src-de3407d02868da17b84be20a37bee2f9d4b5ad99.tar.gz
pass pcb rather than so. it is expected that per socket policy
works again.
Diffstat (limited to 'sys/netinet/tcp_output.c')
-rw-r--r--sys/netinet/tcp_output.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
index c44fa96..f30d6c3 100644
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -878,13 +878,6 @@ send:
ip6->ip6_hlim = in6_selecthlim(tp->t_inpcb, NULL);
/* TODO: IPv6 IP6TOS_ECT bit on */
-#if defined(IPSEC) && !defined(FAST_IPSEC)
- if (ipsec_setsocket(m, so) != 0) {
- m_freem(m);
- error = ENOBUFS;
- goto out;
- }
-#endif /*IPSEC*/
error = ip6_output(m,
tp->t_inpcb->in6p_outputopts, NULL,
(so->so_options & SO_DONTROUTE), NULL, NULL,
OpenPOWER on IntegriCloud