OpenBSD cvs log

created 2019-05-08T03:02:59Z
begin 2017-11-17T00:00:00Z
end 2017-11-18T00:00:00Z
path src/sys
commits 15

date 2017-11-17T03:51:32Z
author dlg
files src/sys/net/if.c log diff annotate
src/sys/net/if_var.h log diff annotate
message add if_rxr_livelocked so rxr users can request backpressure themselves.

right now the rx ring moderation code makes a decision globally
that a machine is livelocked, and uses that to apply backpressure
on all the rx rings. we're moving toward having the network stack
run on multiple cpus, and fed from multiple rx rings. if_rxr_livelocked
lets a driver apply backpressure explicitely if something tells it
that whatever is consuming previous packets cannot keep up.

while here expose the current ring watermark with if_rxr_cwm.

tweaks and ok visa@

date 2017-11-17T04:44:14Z
author mlarkin
files src/sys/arch/amd64/include/vmmvar.h log diff annotate
src/sys/arch/i386/include/vmmvar.h log diff annotate
message vmmvar.h changes for upcoming cdrom support in vmd(8).

Diff from carlos cardenas, thanks

date 2017-11-17T13:36:04Z
author jca
files src/sys/net/if_etherip.c log diff annotate
src/sys/netinet/in_proto.c log diff annotate
src/sys/netinet/ip_ether.c log diff annotate
src/sys/netinet/ip_ether.h log diff annotate
message Move etherip counters and their allocation to etherip(4)

gif(4) now depends on etherip(4) but this is a temporary drawback: we
can get rid of etherip_init(), called from the protocol switch, and
ip_ether.c should stop using etherip counters once it is clear that this
file doesn't handle ethernet-in-IP any more.

ok visa@ as part of a larger diff, ok mpi@

date 2017-11-17T14:50:17Z
author jca
files src/sys/net/if_etherip.c log diff annotate
message Don't pass unhandled packets to gif(4)

This was useful for the migration path, it's not since gif(4) can't be
added to a bridge any more. ok visa@ as part of a larger diff, ok mpi@

date 2017-11-17T14:51:13Z
author jca
files src/sys/netinet/in_proto.c log diff annotate
src/sys/netinet/ip_ether.c log diff annotate
src/sys/netinet6/in6_proto.c log diff annotate
message Drop all Ethernet-in-IP support from gif(4)

As a result, ip_ether.c now only deals with MPLS-in-IP. The next
commits will move & rename stuff to make this clear. ok visa@ mpi@

date 2017-11-17T14:51:48Z
author jca
files src/sys/netinet/ip_ether.c log diff annotate
message Drop etheripstat use in ip_ether.c

Those functions only handle MPLS-in-IP packets, it makes little sense to
count those as ethernet-in-IP. ok visa@ mpi@

date 2017-11-17T14:52:50Z
author jca
files src/sys/net/if_etherip.c log diff annotate
src/sys/net/if_etherip.h log diff annotate
message Move etherip_allow where it is used

While here, drop the declaration in headers, since the variable is used
in a single file. ok visa@ mpi@

date 2017-11-17T14:52:51Z
author jca
files src/sys/netinet/ip_ether.c log diff annotate
src/sys/netinet/ip_ether.h log diff annotate
message Move etherip_allow where it is used

While here, drop the declaration in headers, since the variable is used
in a single file. ok visa@ mpi@

date 2017-11-17T15:45:17Z
author helg
files src/sys/miscfs/fuse/fuse_vnops.c log diff annotate
message Fixes the following bugs when getcwd(3) is used on a fuse file system

Endless loop if directory nested more than one level from root of file system
Current directory not found if the parent directory contains more children than
will fit in the buffer passed to VOP_READDIR(9)
Open and close directory in fusefs_readdir if dir is not already open.
Now behaves as if readdir_ino option was passed to fuse so that directories in
path have a valid ino.

ok mpi@

date 2017-11-17T18:20:49Z
author jca
files src/sys/net/if_gif.c log diff annotate
src/sys/netinet/in_proto.c log diff annotate
src/sys/netinet/ip_ether.c log diff annotate
src/sys/netinet/ip_ether.h log diff annotate
message Rename functions that now handle only MPLS-in-IP

ok visa@ mpi@

date 2017-11-17T18:21:33Z
author jca
files src/sys/netinet/ip_ether.c log diff annotate
src/sys/netinet/ip_ether.h log diff annotate
message Add ifdef MPLS around all the MPLS-in-IP code

ok visa@ mpi@

date 2017-11-17T18:22:52Z
author jca
files src/sys/net/if_etherip.c log diff annotate
src/sys/net/if_etherip.h log diff annotate
src/sys/netinet/in_proto.c log diff annotate
message Rename etherip sysctl handler, there's no conflict with ip_ether.c any more

ok visa@ mpi@

date 2017-11-17T20:30:43Z
author kettenis
files src/sys/dev/ofw/fdt.c log diff annotate
message Make OF_getnodebyname() scan its child nodes instead of its peer nodes.

This still deviates from the implementation we have on macppc, but we only
ever use OF_getnodebyname() to find child nodes in our tree.

ok tom@, visa@

date 2017-11-17T20:38:33Z
author jca
files src/sys/net/if_gif.c log diff annotate
message #if -> #ifdef for consistency

ok visa@ as part of a larger diff

date 2017-11-17T23:08:10Z
author abieber
files src/sys/kern/kern_pledge.c log diff annotate
message permit IPV6_V6ONLY in sockopt

OK deraadt@