panic in ipfw with recent current
Dmitry Marakasov
amdmi3 at amdmi3.ru
Fri Aug 14 00:53:37 UTC 2009
* Julian Elischer (julian at elischer.org) wrote:
> found the fix I think..
>
> 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!
--
Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D
amdmi3 at amdmi3.ru ..: jabber: amdmi3 at jabber.ru http://www.amdmi3.ru
More information about the freebsd-current
mailing list