DragonFly BSD
DragonFly commits List (threaded) for 2012-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: DragonFly_RELEASE_3_0 kernel - Fix incorrect assertion during udp auto-binding


From: Venkatesh Srinivas <vsrinivas@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 6 Feb 2012 04:13:18 -0800 (PST)

commit 0e1521e834b1c99f6d396b0adfd81b7b2159bac5
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Tue Jan 31 14:18:36 2012 -0800

    kernel - Fix incorrect assertion during udp auto-binding
    
    * When sendto() is used and the UDP socket is not bound the binding
      operation is done by the netisr thread and causes an assertion due
      to not being a process.
    
    * The assertion is incorrect, remove it.  This only occured when lport has
      not been assigned and the cred check is only needed when it has.
    
    Reported-by: Pierre Abbat

Summary of changes:
 sys/netinet/in_pcb.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0e1521e834b1c99f6d396b0adfd81b7b2159bac5


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]