OpenBSD cvs log

created 2019-05-08T03:46:24Z
begin 2017-12-08T00:00:00Z
end 2017-12-09T00:00:00Z
path src/sys
commits 9

date 2017-12-08T08:54:03Z
author mpi
files src/sys/arch/amd64/amd64/db_trace.c log diff annotate
src/sys/arch/i386/i386/db_trace.c log diff annotate
message Disable SMAP temporarily to display userland traces.

ok visa@, deraadt@, mlarkin@, jasper@

date 2017-12-08T19:05:33Z
author kettenis
files src/sys/arch/sparc64/sparc64/cpu.c log diff annotate
message Make sure we don't match (and attach) more than the maximum number of
supported CPUs.

date 2017-12-08T20:55:46Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
message Make iwm(4) restore the ic_bss channel after tweaking this channel as part
of passing the frame to ieee80211_input(). Fixes a race where auth frames
would be sent on the wrong channel during association.
Problem reported by florian@
ok deraadt@

date 2017-12-08T21:08:35Z
author deraadt
files src/sys/netmpls/mpls_input.c log diff annotate
message The per-interface mpls flag should also also be tested on input before
proceeding, as described in ifconfig documentation. Discussion with claudio.
Related to a report from maxime.
ok claudio bluhm

date 2017-12-08T21:16:01Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
src/sys/dev/pci/if_iwmvar.h log diff annotate
src/sys/net80211/ieee80211.c log diff annotate
src/sys/net80211/ieee80211_input.c log diff annotate
src/sys/net80211/ieee80211_node.c log diff annotate
src/sys/net80211/ieee80211_node.h log diff annotate
src/sys/net80211/ieee80211_proto.c log diff annotate
src/sys/net80211/ieee80211_var.h log diff annotate
message Add support for background scanning to net80211 and iwm(4).

The iwm(4) driver will now roam between access points which share an SSID.
Use 'ifconfig iwm0 debug' and 'tail -f /var/log/messages' to watch it do so.

Tested by several people in various iterations.
As usual, let me know if you run into issues.

ok phessler deraadt

date 2017-12-08T21:52:49Z
author claudio
files src/sys/netmpls/mpls_input.c log diff annotate
message mpls_shim_pop() can return NULL. Check it else we end up dereferencing NULL.
Issue reported by Maxime Villard
OK bluhm@ deraadt@

date 2017-12-08T21:56:22Z
author claudio
files src/sys/netmpls/mpls_input.c log diff annotate
message The adjttl functions use m_pullup(). In some cases m_pullup() can return
a new mbuf chain and this chain needs to be returned to the caller else
a use after free may happen.
Issue reported by Maxime Villard
OK bluhm@ deraadt@

date 2017-12-08T21:59:05Z
author claudio
files src/sys/netmpls/mpls_input.c log diff annotate
message Use m_freem() in error case. Found by Maxime Villard
OK bluhm@

date 2017-12-08T22:10:34Z
author bluhm
files src/sys/netmpls/mpls_input.c log diff annotate
message Pullup the mbuf before accessing the version field in the IP header.
Fix the pullup length of the shim header in mpls_do_error().
issue reported by Maxime Villard; OK deraadt@ claudio@