git: kernel - Fix mbuf header exhaustion w/ degenerate unix domain socket case

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Dec 1 09:59:54 PST 2010


commit 4e23f366eb82dff7126b9988c5f77d13540d04e5
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Dec 1 09:55:39 2010 -0800

    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 at endeavour.zapto.org>

Summary of changes:
 sys/kern/uipc_mbuf.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4e23f366eb82dff7126b9988c5f77d13540d04e5


-- 
DragonFly BSD source repository





More information about the Commits mailing list