Re: kern/110284: [if_ethersubr] Invalid Assumption in SIOCSIFADDR in ether_ioctl()

2012-05-16 Thread Devon H. O'Dell
The following reply was made to PR kern/110284; it has been noted by GNATS. From: "Devon H. O'Dell" To: bug-follo...@freebsd.org, freebsd-net@freebsd.org, ga...@freebsd.org Cc: Subject: Re: kern/110284: [if_ethersubr] Invalid Assumption in SIOCSIFADDR in ether_ioctl() Date: Wed, 16 May 2012 22

Re: kern/110284: [if_ethersubr] Invalid Assumption in SIOCSIFADDR in ether_ioctl()

2012-05-16 Thread Devon H. O'Dell
The following reply was made to PR kern/110284; it has been noted by GNATS. From: "Devon H. O'Dell" To: bug-follo...@freebsd.org, freebsd-net@freebsd.org, ga...@freebsd.org Cc: Subject: Re: kern/110284: [if_ethersubr] Invalid Assumption in SIOCSIFADDR in ether_ioctl() Date: Wed, 16 May 2012 22

Re: kern/110284: [if_ethersubr] Invalid Assumption in SIOCSIFADDR in ether_ioctl()

2012-05-16 Thread Devon H. O'Dell
2012/5/16 Devon H. O'Dell : > Hi Gavin, freebsd-net, > > --- if_ethersubr.c      2011-09-22 20:51:37.0 -0400 > +++ /home/dho/if_ethersubr.c    2012-05-16 22:27:17.0 -0400 > @@ -1146,7 +1146,9 @@ >                switch (ifa->ifa_addr->sa_family) { >  #ifdef INET >                cas

Re: kern/110284: [if_ethersubr] Invalid Assumption in SIOCSIFADDR in ether_ioctl()

2012-05-16 Thread Devon H. O'Dell
Hi Gavin, freebsd-net, I submitted this PR when I worked at Coyote Point. I'm no longer there, but I do remember this issue well. The discussion around this patch happened on IRC and not the PR, which is unfortunate. If I recall correctly, rwatson's stance was that the real fix was to fix the hein

System hangs when IPv6 traffic is injected as soon as the system is up

2012-05-16 Thread Surya Santosh
Hello, I am using FreeBSD 8.2-RELEASE on amd64 platform with bce interfaces. I am running into an issue where the system hangs if IPv6 traffic is injected as soon as the system is up. Details of the issue: A FreeBSD host is configured with an IPv4 address on one of the interfaces(say bce0) and an

Ethernet Drivers: Question on ifp->if_ioctl invocation for SIOCADDMULTI and SIOCDELMULTI

2012-05-16 Thread David Somayajulu
Hi All, When ifp->if_ioctl() is invoked for the ioctl cmd SIOCADDMULTI, IN_MULTI_LOCK() is called in one of the functions in_joingroup() in the caller stack. >From netinet/in_var.h, line 357 : #define IN_MULTI_LOCK() >mtx_lock(&in_multi_mtx) >From netinet/in_mcast.c 1098 in_joi

Re: [stable-9]

2012-05-16 Thread Andrey Zonov
On 5/15/12 10:07 PM, Sean Bruno wrote: Trying to use two interfaces connected to the same network with the same default router. The two interfaces have two different IPs on the same /28 and point at the same default router of .1. I have successfully configured the machine such that data is comi