Re: hardware packet timestamping for mbufs, then sockets and bpf

2019-06-09 Thread David Gwynne
On Fri, Jun 07, 2019 at 07:36:36PM -0500, Scott Cheloha wrote: > On Fri, Jun 07, 2019 at 02:34:20PM +1000, David Gwynne wrote: > > nics are starting to offer the ability to timestamp packets when > > they're received. other systems (eg linux and freebsd) have support > > for recording that

Re: free(9) size & mallocaray for M_IPMOPTS

2019-06-09 Thread Sebastien Marie
On Sun, Jun 09, 2019 at 02:37:51PM -0300, Martin Pieuchot wrote: > Add free(9) sizes and use mallocaray(9) where applicable for multicast > data structures. > > Ok? OK semarie@ > Index: net/if_pfsync.c > === > RCS file:

Re: Pump my sched: fewer SCHED_LOCK() & kill p_priority

2019-06-09 Thread Amit Kulkarni
On Sun, Jun 9, 2019 at 10:39 PM Theo de Raadt wrote: > > Amit Kulkarni wrote: > > > > Index: sys/sysctl.h > > > === > > > RCS file: /cvs/src/sys/sys/sysctl.h,v > > > retrieving revision 1.188 > > > diff -u -p -r1.188 sysctl.h > > >

Re: Pump my sched: fewer SCHED_LOCK() & kill p_priority

2019-06-09 Thread Theo de Raadt
Amit Kulkarni wrote: > > Index: sys/sysctl.h > > === > > RCS file: /cvs/src/sys/sys/sysctl.h,v > > retrieving revision 1.188 > > diff -u -p -r1.188 sysctl.h > > --- sys/sysctl.h1 Jun 2019 14:11:18 - 1.188 > > +++

Re: Pump my sched: fewer SCHED_LOCK() & kill p_priority

2019-06-09 Thread Amit Kulkarni
> Index: sys/sysctl.h > === > RCS file: /cvs/src/sys/sys/sysctl.h,v > retrieving revision 1.188 > diff -u -p -r1.188 sysctl.h > --- sys/sysctl.h 1 Jun 2019 14:11:18 - 1.188 > +++ sys/sysctl.h 1 Jun 2019 16:36:13

Re: OpenBSD: bridge(4), simplify IFT_ETHER checks

2019-06-09 Thread David Gwynne
> On 10 Jun 2019, at 03:14, Martin Pieuchot wrote: > > On 09/06/19(Sun) 18:41, Eygene Ryabinkin wrote: >> Martin, good day. >> >> Sun, Jun 09, 2019 at 11:35:48AM -0300, Martin Pieuchot wrote: >>> On 07/06/19(Fri) 20:55, Eygene Ryabinkin wrote: With the hints from Martin Pieuchot had

Re: ospf6d: conf_clear_redist_list

2019-06-09 Thread Sebastian Benoit
Remi Locherer(remi.loche...@relo.ch) on 2019.06.08 18:37:39 +0200: > Clear unused redist_list the same way as in ospfd. > > OK? reads good ok benno@ > Remi > > > Index: ospf6d.h > === > RCS file:

update: libXdmcp 1.1.3

2019-06-09 Thread Matthieu Herrb
Hi again, The patch below updates libXdmp to version 1.1.3. No functional changes. ok ? Index: ChangeLog === RCS file: /cvs/OpenBSD/xenocara/lib/libXdmcp/ChangeLog,v retrieving revision 1.5 diff -u -p -u -r1.5 ChangeLog ---

tcpdump.c : move snaplen test

2019-06-09 Thread Denis Fondras
Hi, In tcpdump.c, at line 471 : i = pcap_snapshot(pd); if (snaplen < i) { warning("snaplen raised from %d to %d", snaplen, i); snaplen = i; } is only useful when reading a pcap file. In other cases, pd->snapshot = snaplen (set in

free(9) size & mallocaray for M_IPMOPTS

2019-06-09 Thread Martin Pieuchot
Add free(9) sizes and use mallocaray(9) where applicable for multicast data structures. Ok? Index: net/if_pfsync.c === RCS file: /cvs/src/sys/net/if_pfsync.c,v retrieving revision 1.263 diff -u -p -r1.263 if_pfsync.c ---

Re: OpenBSD: bridge(4), simplify IFT_ETHER checks

2019-06-09 Thread Eygene Ryabinkin
Sun, Jun 09, 2019 at 02:14:57PM -0300, Martin Pieuchot wrote: > In that case I'd like to commit the tweaked version of your diff > below. Are you ok with it? Yes. Though, I'd split out the following chunk > Index: net/if_bridge.c >

libXfont2: disable font server code

2019-06-09 Thread Matthieu Herrb
Hi, We disabled almost all X font server support code already. The patch below removes support for connecting to a font server from libXfont2. It means that you X server will no longer be able to use fonts from a remote font server. But did you even know this was possible ? ok? comments?

Re: OpenBSD: bridge(4), simplify IFT_ETHER checks

2019-06-09 Thread Martin Pieuchot
On 09/06/19(Sun) 18:41, Eygene Ryabinkin wrote: > Martin, good day. > > Sun, Jun 09, 2019 at 11:35:48AM -0300, Martin Pieuchot wrote: > > On 07/06/19(Fri) 20:55, Eygene Ryabinkin wrote: > > > With the hints from Martin Pieuchot had found out that the current > > > handling of IFT_ETHER for

Re: OpenBSD: bridge(4), simplify IFT_ETHER checks

2019-06-09 Thread Stuart Henderson
On 2019/06/09 11:35, Martin Pieuchot wrote: > On 07/06/19(Fri) 20:55, Eygene Ryabinkin wrote: > > Good day. > > > > With the hints from Martin Pieuchot had found out that the current > > handling of IFT_ETHER for bridge(4) /and nowadays, after de-introduction > > of IFT_MPLSTUNNEL/mpw(4) type

Re: OpenBSD: bridge(4), simplify IFT_ETHER checks

2019-06-09 Thread Eygene Ryabinkin
Martin, good day. Sun, Jun 09, 2019 at 11:35:48AM -0300, Martin Pieuchot wrote: > On 07/06/19(Fri) 20:55, Eygene Ryabinkin wrote: > > With the hints from Martin Pieuchot had found out that the current > > handling of IFT_ETHER for bridge(4) /and nowadays, after de-introduction > > of

Re: Use PWAIT in esm(4/i386)

2019-06-09 Thread Mark Kettenis
> Date: Sun, 9 Jun 2019 12:02:22 -0300 > From: Martin Pieuchot > > Sleeping at PUSER when coming from a sysctl context is purely arbitrary. > I'd like to reduce the number of PUSER usages to help people understand > the current scheduler logic. > > Ok? ok kettenis@ > Index:

Use PWAIT in exit1()

2019-06-09 Thread Martin Pieuchot
When a multi-threaded process dies, its main thread waits until all other threads are dead before finishing the cleanup. The priority at which it waits doesn't matter. So I'd like to use PWAIT instead of PUSER to make it easier to understand the existing scheduler logic. ok? Index:

genassym.cf cleanup

2019-06-09 Thread Martin Pieuchot
Remove scheduler related definitions that are unused. Ok? Index: arch/amd64/amd64/genassym.cf === RCS file: /cvs/src/sys/arch/amd64/amd64/genassym.cf,v retrieving revision 1.40 diff -u -p -r1.40 genassym.cf ---

Use PWAIT in esm(4/i386)

2019-06-09 Thread Martin Pieuchot
Sleeping at PUSER when coming from a sysctl context is purely arbitrary. I'd like to reduce the number of PUSER usages to help people understand the current scheduler logic. Ok? Index: arch/i386/i386/esm.c === RCS file:

ssh-askpass(1): fix indicator size with multiple screens

2019-06-09 Thread Matthieu Herrb
Hi, ssh-askpass(1) is trying to be clever and computes the size of its indicator relatively to the screen resolution. Unfortunatly, when multiple screens are present, this gets ugly. The support for Xinerama correctly computes the dimensions of the window to be created, relatively to the screen

Re: OpenBSD: patch for bridge(4) to fix incoming interface for pf(4)

2019-06-09 Thread Martin Pieuchot
On 07/06/19(Fri) 20:50, Eygene Ryabinkin wrote: > Good day. > > The attached patch fixes incoming interface for pf(4) processing > in the case of bridging of multiple VLAN interfaces which have > the same parent iface and unicast packets destined to the bridge > member: we can't rely solely on

Re: OpenBSD: bridge(4), simplify IFT_ETHER checks

2019-06-09 Thread Martin Pieuchot
On 07/06/19(Fri) 20:55, Eygene Ryabinkin wrote: > Good day. > > With the hints from Martin Pieuchot had found out that the current > handling of IFT_ETHER for bridge(4) /and nowadays, after de-introduction > of IFT_MPLSTUNNEL/mpw(4) type interfaces, only IFT_ETHER ones can > be attached to the

Re: ipmi(4): don't block interrupts/systq long time

2019-06-09 Thread Naoki Fukaumi
hi patrick keshishian, From: patrick keshishian Subject: Re: ipmi(4): don't block interrupts/systq long time Date: Fri, 7 Jun 2019 19:24:15 -0700 >> Index: sys/dev/ipmi.c >> === >> RCS file: /cvs/src/sys/dev/ipmi.c,v >> retrieving