Subject: 3 questions about the 19990120-accept fix
To: None <tech-net@netbsd.org>
From: Bill Fenner <fenner@parc.xerox.com>
List: tech-net
Date: 01/26/1999 13:26:04
While porting the 19990120-accept fix to FreeBSD, I came up with the
following questions:

1. Are these the right semantics for this situation?  (i.e. is
returning an error more appropriate than an already-closed socket?)

2. Why does soclose() do the soqremque() on both so_q and so_q0?
sofree() already did an soqremque() on so_q0.

3. I think that arbitrary junk ends up returned to the user's
from+fromlen; shouldn't soaccept() set nam->m_len = 0?

Thanks,
  Bill