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

Venkatesh Srinivas vsrinivas at crater.dragonflybsd.org
Mon Feb 6 04:13:18 PST 2012


commit 0e1521e834b1c99f6d396b0adfd81b7b2159bac5
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list