OpenBSD cvs log

created 2018-12-03T16:27:58Z
begin 2018-11-14T00:00:00Z
end 2018-11-15T00:00:00Z
path src/sys
commits 13

date 2018-11-14T01:06:06Z
author dlg
files src/sys/net/if_gif.c log diff annotate
src/sys/net/if_gre.c log diff annotate
message according to ip_ipip.c, rfc1853 says not to copy the ttl on decapsulation

rfc1853 is about IP in IP Tunneling. rfc2003 about IP Encapsulation
within IP agrees.

date 2018-11-14T01:27:00Z
author dlg
files src/sys/net/if_gre.c log diff annotate
message use the txprio setting to populate the tos in keepalive packets.

the mbuf prio will still be set according to the llprio value, but the
tos on the packet may be forced to a specific number by txprio

date 2018-11-14T01:30:38Z
author dlg
files src/sys/net/if_gif.c log diff annotate
message get ecn ingress args the right way round. again.

date 2018-11-14T02:49:15Z
author dlg
files src/sys/net/if_gif.c log diff annotate
message revert 1.121. i got confused between ecn on ingress and egress

date 2018-11-14T03:20:03Z
author dlg
files src/sys/net/if_gif.c log diff annotate
message remove the encapsulation headers before looking at the inner headers

it works less well when you look before the adj

date 2018-11-14T04:36:02Z
author jsg
files src/sys/dev/pci/drm/radeon/radeon_fb.c log diff annotate
message Setup radeondrm burner task. Missed when updating to linux 4.4.
Fixes wsconsctl display.screen_off panic reported by Dmitry Murti.

date 2018-11-14T06:37:36Z
author jsg
files src/sys/dev/pci/drm/radeon/radeon_fb.c log diff annotate
message Add back part of the changes to takeover the firmware framebuffer on
sparc64 lost in the update to linux 4.4. Compile tested only.

date 2018-11-14T17:00:33Z
author mpi
files src/sys/dev/usb/ugen.c log diff annotate
src/sys/dev/usb/usb_subr.c log diff annotate
message free(9) sizes for configuration descriptors.

ok tedu@, visa@

date 2018-11-14T17:07:44Z
author mpi
files src/sys/net/bridgectl.c log diff annotate
src/sys/net/if_bridge.c log diff annotate
message Batch copyout(9)s in preparation for finer locking.

Tested by Hrvoje Popovski, inputs and ok visa@

date 2018-11-14T17:18:18Z
author mpi
files src/sys/dev/usb/usb.c log diff annotate
message free(9) sizes for configuration descriptors, missed in previous.

date 2018-11-14T17:48:52Z
author mpi
files src/sys/kern/subr_extent.c log diff annotate
message Userland malloc(3) & free(3) take only one argument.

date 2018-11-14T17:52:48Z
author mpi
files src/sys/kern/subr_extent.c log diff annotate
message Revert previous, it breaks regress.

date 2018-11-14T23:55:04Z
author dlg
files src/sys/net/if_gif.c log diff annotate
src/sys/netinet/ip_ecn.c log diff annotate
src/sys/netinet/ip_ecn.h log diff annotate
src/sys/netinet/ip_ipip.c log diff annotate
message provide ip_tos_patch() for setting ip_tos and patching the ipv4 cksum.

previously the gif code would patch the tos field and not recalc
the cksum, which would cause ip input code to drop the packet due
to a cksum failure. the ipip code patched ip_tos and unconditionally
recalculated the cksum, making it correct, but also wiping out any
errors that may have been present before the recalculation. updating
the cksum rather than replacing it lets cksum failures still fire.

ip_tos_patch() is provided in the ecn code since it's because of ecn
propagation that we need to update the tos field. internally it
works like pf_patch_8 and pf_cksum_fixup, but since pf is optional
it rolls its own code. procter may fix that in the future...

ok claudio@