Re: Regression on 10-RC5 with a multicast routing daemon

2014-01-22 Thread Olivier Cochard-Labbé
On Tue, Jan 21, 2014 at 2:33 PM, Gleb Smirnoff wrote: > On Sun, Jan 19, 2014 at 02:42:32AM +0100, Olivier Cochard-Labbé wrote: > O> But there is still a regression regarding the PIM socket behavior not > O> related to the packet format. > > Can you please try this patch to kernel? > > Lot's bette

Re: Regression on 10-RC5 with a multicast routing daemon

2014-01-21 Thread John Baldwin
On Wednesday, January 15, 2014 6:34:30 am Gleb Smirnoff wrote: > Damn, what a mess. I'd like to go towards absolutely unmodified packets > for the 11-release cycle. I agree. -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.free

Re: Regression on 10-RC5 with a multicast routing daemon

2014-01-21 Thread Gleb Smirnoff
On Sun, Jan 19, 2014 at 02:42:32AM +0100, Olivier Cochard-Labbé wrote: O> > Olivier, O> > O> > O> > TL;DR version: you need not subtract iphdrlen in 10.0. Code in O> > igmp.c:accept_igmp() O> > should be smth like: O> > O> > iphdrlen = ip->ip_hl << 2; O> > #ifdef RAW_INPUT_IS_RAW /* Linux */

Re: Regression on 10-RC5 with a multicast routing daemon

2014-01-18 Thread Olivier Cochard-Labbé
On Wed, Jan 15, 2014 at 12:34 PM, Gleb Smirnoff wrote: > Olivier, > > > TL;DR version: you need not subtract iphdrlen in 10.0. Code in > igmp.c:accept_igmp() > should be smth like: > > iphdrlen = ip->ip_hl << 2; > #ifdef RAW_INPUT_IS_RAW /* Linux */ > ipdatalen = ntohs(ip->ip_len) - ip

Re: Regression on 10-RC5 with a multicast routing daemon

2014-01-15 Thread Adrian Chadd
On 15 January 2014 03:34, Gleb Smirnoff wrote: [snip] > Damn, what a mess. I'd like to go towards absolutely unmodified packets > for the 11-release cycle. Well, now's the time to _start_ this. :-) Not 6 months before 11.0 :P -a ___ freebsd-current@

Re: Regression on 10-RC5 with a multicast routing daemon

2014-01-15 Thread Gleb Smirnoff
Olivier, On Tue, Jan 14, 2014 at 05:51:53PM +0100, Olivier Cochard-Labbé wrote: O> I'm trying to port a PIM sparse-mode daemon ( O> https://github.com/troglobit/pimd/) and I've meet a problem: O> This daemon compile and run fine on FreeBSD 9.2 but on 10-RC5 this daemon O> can't understand receiv