atom feed9 messages in org.freebsd.freebsd-currentRe: Removing INET6 does stop the cras...
FromSent OnAttachments
waltJul 28, 2002 6:18 pm 
Lamont GranquistJul 28, 2002 6:46 pm 
Maxim KonovalovJul 28, 2002 9:41 pm 
John BaldwinJul 29, 2002 8:09 am 
waltJul 29, 2002 8:11 am 
Maxim KonovalovJul 29, 2002 8:20 am 
Hajimu UMEMOTOJul 29, 2002 10:12 am 
Hajimu UMEMOTOJul 30, 2002 3:06 am.c
Munechika SumikawaJul 31, 2002 10:06 pm 
Subject:Re: Removing INET6 does stop the crashes.
From:John Baldwin (jh@FreeBSD.org)
Date:Jul 29, 2002 8:09:43 am
List:org.freebsd.freebsd-current

On 29-Jul-2002 walt wrote:

Maxim Konovalov wrote:

On 18:19-0700, Jul 28, 2002, walt wrote:

After reading Scott Long's recent post I tried removing INET6 from my kernel config and the crashes due to mozilla are now definitely gone.

[...]

Please try the next patch.

Index: sys/netinet/tcp_usrreq.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/tcp_usrreq.c,v retrieving revision 1.78 diff -u -r1.78 tcp_usrreq.c --- sys/netinet/tcp_usrreq.c 25 Jul 2002 18:10:04 -0000 1.78 +++ sys/netinet/tcp_usrreq.c 28 Jul 2002 14:34:09 -0000 @@ -407,8 +407,10 @@ if (IN6_IS_ADDR_V4MAPPED(&sin6p->sin6_addr)) { struct sockaddr_in sin;

- if ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0) - return(EINVAL); + if ((inp->inp_flags & IN6P_IPV6_V6ONLY) != 0) { + error = EINVAL; + goto out; + }

in6_sin6_2_sin(&sin, sin6p); inp->inp_vflag |= INP_IPV4;

Yes, it stops the crashes. If I set v6only = 0 then the machine works normally; if set to 1 then I get "connection refused" from any server I try to connect to. Is that normal v6only behavior?

Let's get this patch committed then. :)

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message