git: kernel - Fix incorrect assertion during udp auto-binding
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Jan 31 14:20:01 PST 2012
commit 23ecc5880dd169ab9c408114e82a49d099f45a8d
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/23ecc5880dd169ab9c408114e82a49d099f45a8d
--
DragonFly BSD source repository
More information about the Commits
mailing list