invalid table number causes ipfw to lock

Ruslan Ermilov ru at FreeBSD.org
Thu Mar 9 08:32:33 UTC 2006


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

> root at brad:0:~# ipfw table 260 list
> ipfw: getsockopt(IP_FW_TABLE_GETSIZE): Invalid argument
> root at 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 at FreeBSD.org
FreeBSD committer
-------------- 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/20060309/116bfbc3/attachment.bin


More information about the freebsd-net mailing list