Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2007 01:53:06 +0100
From:      Matus Harvan <mharvan@inf.ethz.ch>
To:        "Bruce M. Simpson" <bms@FreeBSD.org>
Cc:        freebsd-net@freebsd.org, Brooks Davis <brooks@freebsd.org>, Max Laier <max@love2party.net>
Subject:   Re: TCP listenall
Message-ID:  <20071031005306.GC2564@styx.ethz.ch>
In-Reply-To: <4722B6A3.6030606@FreeBSD.org>
References:  <20070909204148.GB18107@inf.ethz.ch> <20071026155206.GH1049@styx.ethz.ch> <4722B6A3.6030606@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHJ9Hy43LQWDWf0QIRAt5XAJ49l0PEBVBEEFjjuHKHxfv1PlFM9QCcDSvi
WGP36DZeEVTunRoXzf9nG/I=
=rl3D
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071031005306.GC2564>