Okay I solved my kernel compile problem.

In /usr/src/sys/netinet/tcp_usrreq.c

I commented out lines 420 to 423 and lines 438 to 441

I noticed this was a change from a FreeBSD 4.2-STABLE machine that i looked at a couple
minutes ago. Here are lines 412 to 446 of the above mentioned file with the commented 
out
lines.

static int
tcp_usr_accept(struct socket *so, struct sockaddr **nam)
{
        int s = splnet();
        int error = 0;
        struct inpcb *inp = sotoinpcb(so);
        struct tcpcb *tp;

        /*  if (so->so_state & SS_ISDISCONNECTED) {
                error = ECONNABORTED;
                goto out;
        } */
        COMMON_START();
        in_setpeeraddr(so, nam);
        COMMON_END(PRU_ACCEPT);
}

#ifdef INET6
static int
tcp6_usr_accept(struct socket *so, struct sockaddr **nam)
{
        int s = splnet();
        int error = 0;
        struct inpcb *inp = sotoinpcb(so);
        struct tcpcb *tp;

        /* if (so->so_state & SS_ISDISCONNECTED) {
                error = ECONNABORTED;
                goto out;
        } */
        COMMON_START();
        in6_mapped_peeraddr(so, nam);
        COMMON_END(PRU_ACCEPT);
}
#endif /* INET6 */


________________________________________
Elliott Perrin
Systems Administrator
Big Orbit - Specializing in new media for youth
web:  http://www.bigorbit.com
email: [EMAIL PROTECTED]
[t] 416.516.0705 ext 25
[f] 416.516.9256


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to