TCP listenall

Matus Harvan mharvan at inf.ethz.ch
Tue Oct 30 18:10:41 PDT 2007


On Sat, Oct 27, 2007 at 04:55:15AM +0100, Bruce M. Simpson wrote:
> listenallr is static and is going to get trashed by concurrent threads, 
> unless there is a serialization with a lock, which I don't see.

I have used sys/netinet/ip_icmp.c:badport_bandlim() for
inspiration. There it did not seem to be protected by any locks
either. Would this be a bug in the ICMP code as well?

Matus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20071031/b7e10280/attachment.pgp


More information about the freebsd-net mailing list