Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 2006 10:31:35 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Nikos Vassiliadis <nvass@teledomenet.gr>
Cc:        freebsd-net@FreeBSD.org, Gleb Smirnoff <glebius@FreeBSD.org>
Subject:   Re: invalid table number causes ipfw to lock
Message-ID:  <20060309083135.GH54826@ip.net.ua>
In-Reply-To: <200603081532.46119.nvass@teledomenet.gr>
References:  <200603081532.46119.nvass@teledomenet.gr>

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

--N8ia4yKhAKKETby7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Mar 08, 2006 at 03:32:45PM +0200, Nikos Vassiliadis wrote:
> Hello,
>=20
> Is this known?
>=20
Yes.

> root@brad:0:~# ipfw table 260 list
> ipfw: getsockopt(IP_FW_TABLE_GETSIZE): Invalid argument
> root@brad:0:~# ipfw table 26 list
>=20
> and it locks there, ipfw processes stay forever in state D.
> This is a recent RELENG_6.
>=20
: RCS file: /junk/freebsd/cvs/src/sys/netinet/ip_fw2.c,v
: Working file: ip_fw2.c
: head: 1.127
: branch:
: locks: strict
: access list:
: keyword substitution: kv
: total revisions: 183;   selected revisions: 183
: description:
: ----------------------------
: revision 1.127
: date: 2006/03/03 12:10:59;  author: glebius;  state: Exp;  lines: +5 -7
: - Do not leak read lock in IP_FW_TABLE_GETSIZE case of ipfw_ctl().
: - Acquire read (not write) lock in case of IP_FW_TABLE_LIST.
:=20
: In collaboration with:  ru

I don't know when Gleb plans for an MFC.


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--N8ia4yKhAKKETby7
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFED+fnqRfpzJluFF4RAiLWAJ48KVqYxGVtvfukygcRhSu+xT1YPQCdEq6H
SKvm2MoxNM1qDcQ2Ei9kjko=
=Iqcv
-----END PGP SIGNATURE-----

--N8ia4yKhAKKETby7--



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