CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2015/06/02 18:50:09

Modified files:
        sys/net        : if_ppp.c if_pppvar.h ppp_tty.c 

Log message:
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@

Reply via email to