Re: RFC: nexthop cache separation

2016-03-29 Thread Ryota Ozaki
I updated the patches: http://www.netbsd.org/~ozaki-r/separate-nexthop-caches-v5.diff http://www.netbsd.org/~ozaki-r/separate-nexthop-caches-v5-diff.diff Changes since v4: - Remove -llinfo option from route(8) - Just forgot to do it... - Update arp.4 and route.{4,8} Regards, ozaki-r

Re: Simplify bridge(4)

2016-03-29 Thread Ryota Ozaki
On Tue, Mar 29, 2016 at 12:27 AM, Taylor R Campbell wrote: >Date: Mon, 28 Mar 2016 16:07:19 +0900 >From: Ryota Ozaki > >On Fri, Mar 25, 2016 at 11:40 PM, Taylor R Campbell > wrote: >> No need for the _PSZ variants here: the bridge list is used only under >> an exclusive lo

Adding sc_pid to SCM_CREDS

2016-03-29 Thread Roy Marples
Hi List For AF_UNIX SOCK_DGRAM sockets, the only way of obtaining credentials is via LOCAL_CREDS which returns SCM_CREDS as a cmsg. However, struct sockcred lacks the process id of the sender which is of use to many applications. For SOCK_STREAM and SOCK_SEQPACKET, we do have LOCAL_PEEREID, but t

Re: IFQ_ENQUEUE argument refactor (was Re: RFC: ALTQ caller refactor)

2016-03-29 Thread Taylor R Campbell
Date: Tue, 29 Mar 2016 17:45:20 +0900 From: Kengo NAKAHARA On 2016/03/25 23:05, Taylor R Campbell wrote: > Either or altq_get_pattr or IFQ_ENQUEUE should KASSERT(pattr != NULL) > or similar. Hmm, I think the functions which are set to ifq->altq_enqueue by altq_attach() can a

Re: IFQ_ENQUEUE argument refactor (was Re: RFC: ALTQ caller refactor)

2016-03-29 Thread Kengo NAKAHARA
Hi, Thank you for comments. On 2016/03/25 23:05, Taylor R Campbell wrote: >Date: Fri, 25 Mar 2016 17:26:14 +0900 >From: Kengo NAKAHARA > >I rebase and modify a little(use container_of). Here is the patch. > > http://www.netbsd.org/~knakahara/ifq-enqueue-refactor/ifq-enqueue-