Hi,

        fib6_lookup_1 can return NULL, please consider applying.

                        - Arnaldo

--- linux-2.4.0-test8/net/ipv6/ip6_fib.c        Wed May  3 05:48:04 2000
+++ linux-2.4.0-test8.acme/net/ipv6/ip6_fib.c   Mon Sep 11 18:28:48 2000
@@ -638,6 +638,9 @@
                        if (narg->addr) {
                                st = fib6_lookup_1(fn->subtree, narg);
 
+                               if (!st)
+                                       return NULL;
+
                                if (!(st->fn_flags & RTN_ROOT))
                                {
                                        return st;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to