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
[-- Attachment #1 --] On Wed, Mar 08, 2006 at 03:32:45PM +0200, Nikos Vassiliadis wrote: > Hello, > > Is this known? > Yes. > root@brad:0:~# ipfw table 260 list > ipfw: getsockopt(IP_FW_TABLE_GETSIZE): Invalid argument > root@brad:0:~# ipfw table 26 list > > and it locks there, ipfw processes stay forever in state D. > This is a recent RELENG_6. > : 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. : : In collaboration with: ru I don't know when Gleb plans for an MFC. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFED+fnqRfpzJluFF4RAiLWAJ48KVqYxGVtvfukygcRhSu+xT1YPQCdEq6H SKvm2MoxNM1qDcQ2Ei9kjko= =Iqcv -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060309083135.GH54826>
