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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 31 Jan 2012 14:20:01 -0800 (PST)

commit 23ecc5880dd169ab9c408114e82a49d099f45a8d
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/23ecc5880dd169ab9c408114e82a49d099f45a8d


-- 
DragonFly BSD source repository



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