Re: svn commit: r253841 - head/sys/netinet6

2013-08-07 Thread Bruce Simpson
On 07/08/13 13:05, Gleb Smirnoff wrote: Yes, lack of good management mechanism creates a temptation to create a foo(4) interface for any new FOO protocol, with its own if_ioctl method that will provide a clean entry into its management. I suspect that was one of the reasons to implement carp(4) a

Re: svn commit: r253841 - head/sys/netinet6

2013-08-07 Thread Gleb Smirnoff
On Wed, Aug 07, 2013 at 11:31:51AM +0100, Bruce Simpson wrote: B> On 01/08/13 17:55, Rui Paulo wrote: B> > On 1 Aug 2013, at 09:27, Alexander V. Chernikov wrote: B> >> Because thay aren't really interfaces. All they need is BPF. B> >> There is a cleaner approach described here: http://lists.free

Re: svn commit: r253841 - head/sys/netinet6

2013-08-07 Thread Bruce Simpson
On 01/08/13 17:55, Rui Paulo wrote: On 1 Aug 2013, at 09:27, Alexander V. Chernikov wrote: Because thay aren't really interfaces. All they need is BPF. There is a cleaner approach described here: http://lists.freebsd.org/pipermail/freebsd-net/2012-December/034031.html I don't agree with this

Re: svn commit: r253841 - head/sys/netinet6

2013-08-01 Thread Rui Paulo
On 1 Aug 2013, at 09:27, Alexander V. Chernikov wrote: > Because thay aren't really interfaces. All they need is BPF. > There is a cleaner approach described here: > http://lists.freebsd.org/pipermail/freebsd-net/2012-December/034031.html I don't agree with this patch as-is, but I'll need to sp

Re: svn commit: r253841 - head/sys/netinet6

2013-08-01 Thread Alexander V. Chernikov
On 01.08.2013 20:18, Rui Paulo wrote: On 1 Aug 2013, at 07:23, Gleb Smirnoff wrote: On Wed, Jul 31, 2013 at 04:24:50PM +, Hiroki Sato wrote: H> Author: hrs H> Date: Wed Jul 31 16:24:49 2013 H> New Revision: 253841 H> URL: http://svnweb.freebsd.org/changeset/base/253841 H> H> Log: H> Allo

Re: svn commit: r253841 - head/sys/netinet6

2013-08-01 Thread Rui Paulo
On 1 Aug 2013, at 07:23, Gleb Smirnoff wrote: > On Wed, Jul 31, 2013 at 04:24:50PM +, Hiroki Sato wrote: > H> Author: hrs > H> Date: Wed Jul 31 16:24:49 2013 > H> New Revision: 253841 > H> URL: http://svnweb.freebsd.org/changeset/base/253841 > H> > H> Log: > H> Allocate in6_ifextra (ifp->i

Re: svn commit: r253841 - head/sys/netinet6

2013-08-01 Thread Gleb Smirnoff
On Wed, Jul 31, 2013 at 04:24:50PM +, Hiroki Sato wrote: H> Author: hrs H> Date: Wed Jul 31 16:24:49 2013 H> New Revision: 253841 H> URL: http://svnweb.freebsd.org/changeset/base/253841 H> H> Log: H> Allocate in6_ifextra (ifp->if_afdata[AF_INET6]) only for IPv6-capable H> interfaces. This

svn commit: r253841 - head/sys/netinet6

2013-07-31 Thread Hiroki Sato
Author: hrs Date: Wed Jul 31 16:24:49 2013 New Revision: 253841 URL: http://svnweb.freebsd.org/changeset/base/253841 Log: Allocate in6_ifextra (ifp->if_afdata[AF_INET6]) only for IPv6-capable interfaces. This eliminates unnecessary IPv6 processing for non-IPv6 interfaces. MFC after: