Thread (6 messages) flat view 6 messages, 4 authors, 2006-08-29

Re: divide error: 0000 in fib6_rule_match [Re: 2.6.18-rc4-mm3]

From: "Mattia Dongili" <malattia@linux.it>
Date: 2006-08-29 06:33:21
Also in: lkml

On Mon, August 28, 2006 11:30 pm, Andrew Morton said:
On Mon, 28 Aug 2006 22:07:16 +0200
Mattia Dongili [off-list ref] wrote:
[...]
quoted
it's at fib6_rules.c:132 but since I can't tell why r->fwmask is 0 I'll
avoid proposing a wrong patch :)
Oh.  It looks like this has already been fixed:

#ifdef CONFIG_IPV6_ROUTE_FWMARK
        if ((r->fwmark ^ fl->fl6_fwmark) & r->fwmask)
                return 0;
#endif

there's no divide in there now.
Ok, great, I have a division instead of the bitwise and there in fact.

thanks
-- 
mattia
:wq!

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help