diff options
| author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-11-04 16:02:05 +0000 |
|---|---|---|
| committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-11-04 16:02:05 +0000 |
| commit | 0f9ade718da4248226297bed41f3e9e372fd5f4d (patch) | |
| tree | fdad404b77778d90d4bdccd4cb96415d0821c8d5 /sys/netinet/tcp_output.c | |
| parent | 7430623f55ac6ed7b26314ff11e9a31d14255e46 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_output.c')
| -rw-r--r-- | sys/netinet/tcp_output.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index 1267aaf8e397..b7ddc23ec8da 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -880,6 +880,13 @@ send: : NULL); /* TODO: IPv6 IP6TOS_ECT bit on */ +#ifdef 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, &tp->t_inpcb->in6p_route, |
