kernel - Fix mbuf header exhaustion w/ degenerate unix domain socket case
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 1 Dec 2010 17:55:39 +0000 (09:55 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 1 Dec 2010 17:55:39 +0000 (09:55 -0800)
commit4e23f366eb82dff7126b9988c5f77d13540d04e5
tree8d6db1f5caffa1bf041e4b627beb119ea542318b
parent82b1d9f2986a04924803359759c12bab32b9cf1c
kernel - Fix mbuf header exhaustion w/ degenerate unix domain socket case

* Increase the number of mbuf headers to accomodate a degenerate
  fd-passing case with chains of unix domain sockets, one fd per
  socket.

* This does not address other mbuf exhaustion issues which can crop
  up in a user ddos attack due to the default number of fds a user
  is allowed to own.

Reported-by: Venkatesh Srinivas <me@endeavour.zapto.org>
sys/kern/uipc_mbuf.c