Date: Fri, 12 Jul 2002 01:46:59 -0700 (PDT) From: Don Lewis <dl-freebsd@catspoiler.org> To: hsu@FreeBSD.org Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet udp_usrreq.c Message-ID: <200207120847.g6C8kxwr013248@gw.catspoiler.org> In-Reply-To: <0GZ4004U3MZCIJ@mta5.snfc21.pbi.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12 Jul, Jeffrey Hsu wrote: > > Lock inp while we're accessing it. > > Here's a rhetorical question: why? That inp was purposely left unlocked. Comparing udp_getcred() with tcp_getcred(), the missing lock looked like an oversight. Isn't it possible for inp->inp_socket to get modified by another thread in either case unless inp is locked? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207120847.g6C8kxwr013248>