Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Aug 2009 17:26:41 +0900
From:      Randy Bush <randy@psg.com>
To:        Dmitry Marakasov <amdmi3@amdmi3.ru>
Cc:        freebsd-current@FreeBSD.org, Julian Elischer <julian@elischer.org>
Subject:   Re: panic in ipfw with recent current
Message-ID:  <m2eird1nzy.wl%randy@psg.com>
In-Reply-To: <20090814005324.GA1552@hades.panopticon>
References:  <20090801022523.GA93222@hades.panopticon> <4A84A901.4010109@elischer.org> <20090814005324.GA1552@hades.panopticon>

next in thread | previous in thread | raw e-mail | index | archive | help
>> in line 2061 of ip_fw2.c in the crhold()
>> the argument should be pcb->inp_cred, not inp->cred
>> 
>> 2059        if (pcb != NULL) {
>> 2060              *uc = crhold(inp->inp_cred); <--s/inp/pcb/
>> 2061              *ugid_lookupp = 1;
>> 2062        }
> 
> Confirmed, this fixes the problem. Filtering by gid works and no
> panics. Thanks a lot!

also confirmed.  <whew!>

randy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2eird1nzy.wl%randy>