34c34
< * $FreeBSD: head/sys/netinet/tcp_syncache.c 101405 2002-08-05 22:34:15Z silby $
---
> * $FreeBSD: head/sys/netinet/tcp_syncache.c 105194 2002-10-16 01:54:46Z sam $
1107,1114d1106
< #ifdef IPSEC
< /* use IPsec policy on listening socket to send SYN,ACK */
< if (ipsec_setsocket(m, sc->sc_tp->t_inpcb->inp_socket) != 0) {
< m_freem(m);
< return (ENOBUFS);
< }
< #endif
<
1216c1208,1209
< error = ip6_output(m, NULL, ro6, 0, NULL, NULL);
---
> error = ip6_output(m, NULL, ro6, 0, NULL, NULL,
> sc->sc_tp->t_inpcb);
1224c1217,1218
< error = ip_output(m, sc->sc_ipopts, &sc->sc_route, 0, NULL);
---
> error = ip_output(m, sc->sc_ipopts, &sc->sc_route, 0, NULL,
> sc->sc_tp->t_inpcb);
< * $FreeBSD: head/sys/netinet/tcp_syncache.c 101405 2002-08-05 22:34:15Z silby $
---
> * $FreeBSD: head/sys/netinet/tcp_syncache.c 105194 2002-10-16 01:54:46Z sam $
1107,1114d1106
< #ifdef IPSEC
< /* use IPsec policy on listening socket to send SYN,ACK */
< if (ipsec_setsocket(m, sc->sc_tp->t_inpcb->inp_socket) != 0) {
< m_freem(m);
< return (ENOBUFS);
< }
< #endif
<
1216c1208,1209
< error = ip6_output(m, NULL, ro6, 0, NULL, NULL);
---
> error = ip6_output(m, NULL, ro6, 0, NULL, NULL,
> sc->sc_tp->t_inpcb);
1224c1217,1218
< error = ip_output(m, sc->sc_ipopts, &sc->sc_route, 0, NULL);
---
> error = ip_output(m, sc->sc_ipopts, &sc->sc_route, 0, NULL,
> sc->sc_tp->t_inpcb);