Re: teach tcpdump about the LLDP_Multicast group

2018-12-19 Thread Claudio Jeker
On Thu, Dec 20, 2018 at 01:01:16PM +1000, David Gwynne wrote: > ok? > > Index: addrtoname.c > === > RCS file: /cvs/src/usr.sbin/tcpdump/addrtoname.c,v > retrieving revision 1.38 > diff -u -p -r1.38 addrtoname.c > --- addrtoname.c

Re: mg: Delete region

2018-12-19 Thread Mark Lumsden
hmm, you are correct. I'm trying to remember which machine I tested on that made me come to that conclusion. On Thu, 20 Dec 2018, Leonid Bobrov wrote: Date: Thu, 20 Dec 2018 06:43:02 +0200 From: Leonid Bobrov To: Mark Lumsden , tech@openbsd.org Subject: Re: mg: Delete region I tried this in

Re: mg: Delete region

2018-12-19 Thread Leonid Bobrov
I tried this in GNU Emacs and it didn't place the killed region into the kill buffer. It only places it into the kill buffer if you pressed C-w

teach tcpdump about the LLDP_Multicast group

2018-12-19 Thread David Gwynne
ok? Index: addrtoname.c === RCS file: /cvs/src/usr.sbin/tcpdump/addrtoname.c,v retrieving revision 1.38 diff -u -p -r1.38 addrtoname.c --- addrtoname.c22 Oct 2018 16:12:45 - 1.38 +++ addrtoname.c20 Dec 2018

Another attempt to bypass ifqs on interfaces

2018-12-19 Thread David Gwynne
My last attempt in "let etherip(4) output directly to the ip stack" didn't go so well. This one at least doesn't break bridge(4) on Ethernet. This diff effectively turns if_enqueue into a per interface function pointer. Things still call if_enqueue(), which does some pf stuff, and then it calls

Re: Convert a few more timeout_add() calls

2018-12-19 Thread Klemens Nanni
On Wed, Dec 19, 2018 at 07:57:11PM +0100, Claudio Jeker wrote: > This is mostly replacing timeout_add calls that use some sort of HZ > dependent value to timeout_add_(m)sec(). IFNET_SLOWHZ is only used in one > place and could be moved there. > In general I think the result is easier to

Re: Convert a few more timeout_add() calls

2018-12-19 Thread Alexander Bluhm
On Wed, Dec 19, 2018 at 07:57:11PM +0100, Claudio Jeker wrote: > This is mostly replacing timeout_add calls that use some sort of HZ > dependent value to timeout_add_(m)sec(). IFNET_SLOWHZ is only used in one > place and could be moved there. > In general I think the result is easier to

Re: diff: fix missing include guard in dev/biovar.h

2018-12-19 Thread Ted Unangst
Jan Klemkow wrote: > I run into double definition problems because of a missing include guard > in dev/biovar.h. The diff below should fix that issue. Where and how? I don't like adding guards blindly because it leads to laziness and eventually the include situation is a giant tangled mess. Each

Convert a few more timeout_add() calls

2018-12-19 Thread Claudio Jeker
This is mostly replacing timeout_add calls that use some sort of HZ dependent value to timeout_add_(m)sec(). IFNET_SLOWHZ is only used in one place and could be moved there. In general I think the result is easier to understand. OK? -- :wq Claudio Index: net/if.c

diff: fix missing include guard in dev/biovar.h

2018-12-19 Thread Jan Klemkow
Hi, I run into double definition problems because of a missing include guard in dev/biovar.h. The diff below should fix that issue. Bye, Jan Index: sys/dev/biovar.h === RCS file: /cvs/src/sys/dev/biovar.h,v retrieving revision

Terminate RIB walks when bgpctl quits

2018-12-19 Thread Claudio Jeker
When running something like: bgpctl show rib | head -5 bgpctl will exit quickly but bgpd will still do the full table walk, sending imsg from RDE to SE and then the SE will drop them since the connection to bgpctl died. In most cases this is not a big deal but for the show rib commands a

Re: refactor ext-community into filter_community

2018-12-19 Thread Sebastian Benoit
Claudio Jeker(cje...@diehard.n-r-g.com) on 2018.12.12 14:19:36 +0100: > Time to fold ext-communities into filter_community so that bgpd can match > multiple ext-communities at the same time as well. Additionally this fixes > parsing some of the ext-community types. Rather large diff again so more

Re: Request for testing malloc and multi-threaded applications

2018-12-19 Thread Otto Moerbeek
On Wed, Dec 19, 2018 at 10:52:03AM +0100, Otto Moerbeek wrote: > Hi, > > This diff implements a more flexible approach for the number of pools > malloc uses in the multi-threaded case. At the momemt I do not intend > to commit this as-is, I first need this to get some feedback on what > the

Request for testing malloc and multi-threaded applications

2018-12-19 Thread Otto Moerbeek
Hi, This diff implements a more flexible approach for the number of pools malloc uses in the multi-threaded case. At the momemt I do not intend to commit this as-is, I first need this to get some feedback on what the proper default should be. Currently the number of pools is fixed at 4. More

Re: ospf6d reports no buffer space available on vmx interface

2018-12-19 Thread Giovanni Bechis
On 12/18/18 11:34 AM, Arnaud BRAND wrote: > Hi, > > I'm running 6.4 stable, with latest syspatches. > > I saw ospf6d reporting this in the logs > Dec 18 08:18:10 obsd64-ic1 ospf6d[68658]: send_packet: error sending packet > on interface vmx1: No buffer space available > I have similar problems

Re: bpe(4): 802.1Q Provider Backbone Bridge edge

2018-12-19 Thread Daniel Gracia
Loving it! A nit: s/Etherent/Ethernet El mié., 19 dic. 2018 a las 5:25, David Gwynne () escribió: > > 802.1ah-2008 developed Provider Backbone Bridges, aka, mac-in-mac > support. This was adopted as part of 802.1Q-2011. > > It basically provides Ethernet over Ethernet overlay networking. Unlike