Re: another dumb socket related question
Mark Johnston <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.net |
|---|---|
| Message-ID | <agnm-uNFmVM4zaLb@nuc> |
On Sat, May 16, 2026 at 07:17:08AM -0700, Rick Macklem wrote: > Hi, > > I just noticed that the generic krpc code (which is called > by the nlm) does solisten() twice on the same socket. > > Is there any reason solisten() needs to be called twice > on the same socket? I don't think so, the only possible reason I can think of would be to change the backlog size. On the other hand, it shouldn't hurt, e.g., solisten_proto() is simply a no-op if the socket is already a listening socket.