DragonFly BSD
DragonFly bugs List (threaded) for 2011-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [issue1969] pf-related network problem


From: Jan Lentfer <Jan.Lentfer@xxxxxx>
Date: Thu, 27 Jan 2011 22:19:13 +0100

Jan Lentfer (via DragonFly issue tracker) schrieb:


line 722 bcmp(key + head_off, tt->rn_key + head_off, klen - head_off))



That was a wrong trace :(.. too tired I guess. The part that actually returns NULL in radix.c is in rn_delete():


        /*
         * Delete our route from mask lists.
         */
        if (netmask != NULL) {
                if ((x = rn_addmask(netmask, TRUE, head_off)) == NULL)
                        return (NULL);
                netmask = x->rn_key;
                while (tt->rn_mask != netmask)
                        if ((tt = tt->rn_dupedkey) == NULL)
                                return (NULL);
        }

Jan




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]