sonewconn() returns the pointer to 'socket' struct so check it against
authormvs <mvs@openbsd.org>
Sat, 23 Oct 2021 20:44:42 +0000 (20:44 +0000)
committermvs <mvs@openbsd.org>
Sat, 23 Oct 2021 20:44:42 +0000 (20:44 +0000)
commit1a703092d71b5971a28f8c256a5182b080975f69
treeff36a7360121477ca218130e84e88503e7c6b021
parent4a18b5ba2a01b084bc9ce0b8de88c9b0e394aa3b
sonewconn() returns the pointer to 'socket' struct so check it against
NULL instead of '0'.

ok deraadt@
sys/kern/uipc_usrreq.c