Thomas Graf wrote:
* Patrick McHardy <[EMAIL PROTECTED]> 2005-08-22 23:38

@@ -1364,7 +1365,7 @@ fn_trie_lookup(struct fib_table *tb, con
                }

                if (IS_LEAF(n)) {
-                       if (check_leaf(t, (struct leaf *)n, key, &plen, flp, res, 
&ret))
+                       if ((ret == check_leaf(t, (struct leaf *)n, key, &plen, 
flp, res)) <= 0)

                             ^^^^^^^^^^^^^^

Otherwise I'd agree that this patch looks ok.

Thanks, I must be blind. I was already testing out old gccs to rule
out this trustworthy sounding gcc brought by the latest Debian
update: gcc version 4.0.2 20050816 (prerelease) (Debian 4.0.1-5) :)

I'll give it a try and send a fixed patch if it helps.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to