summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-06-03 00:50:09 +0000
committerdlg <dlg@openbsd.org>2015-06-03 00:50:09 +0000
commitfede9e8161cb5ac0652a20b3f658f086b74b255e (patch)
tree76a0d8680db91083a3c15a44c69be8ea8e09751b /lib/libc
parentDon't leak value returned by cgetstr(). OK deraadt@ (diff)
downloadwireguard-openbsd-fede9e8161cb5ac0652a20b3f658f086b74b255e.tar.xz
wireguard-openbsd-fede9e8161cb5ac0652a20b3f658f086b74b255e.zip
there's been a long standing issue in ppp on a tty/serial line where it allocates mbufs at IPL_SOFTTTY, which is above the IPL_NET the mbuf layer protects itself at.
recent improvements to diagnostics in pools and mbufs now panic instead of letting these things silently corrupt. this reworks the ppp handling in the tty layer so it has its own private pool to allocate packet memory out of. these packets get built and then queued for softnet to process. softnet dequeues the packet and attaches it to mbufs as external storage before handing it on to the rest of the stack. this was reported on bugs@ and tested by both Walter Daugherity and Martin van den Nieuwelaar ok deraadt@ mpi@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions