Re: GRE tunneling/interface link state in 2.3.47

From: David S. Miller (davem@redhat.com)
Date: Tue Feb 22 2000 - 03:32:48 EST


Can you try this patch? Thanks.

--- net/core/dev.c.~1~ Mon Feb 21 12:15:29 2000
+++ net/core/dev.c Tue Feb 22 00:32:15 2000
@@ -1859,6 +1859,14 @@
                 *dp = dev;
                 dev_hold(dev);
                 write_unlock_bh(&dev_base_lock);
+
+ /*
+ * Default initial state at registry is that the
+ * device is present.
+ */
+
+ set_bit(__LINK_STATE_PRESENT, &dev->state);
+
                 return 0;
         }
 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:29 EST