| Kernel v2.4.1 /net/decnet/dn_rules.c |
|---|
 2.4.1
 net
 decnet
 dn_rules.c
diff -u --recursive --new-file v2.4.0/linux/net/decnet/dn_rules.c linux/net/decnet/dn_rules.c
--- v2.4.0/linux/net/decnet/dn_rules.c Sat Jan 8 21:36:20 2000
+++ linux/net/decnet/dn_rules.c Mon Jan 22 13:32:10 2001
@@ -57,7 +57,12 @@
int r_dead;
};
-static struct dn_fib_rule default_rule = { NULL, ATOMIC_INIT(2), 0x7fff, DN_DEFAULT_TABLE, RTN_UNICAST };
+static struct dn_fib_rule default_rule = {
+ r_clntref: ATOMIC_INIT(2),
+ r_preference: 0x7fff,
+ r_table: DN_DEFAULT_TABLE,
+ r_action: RTN_UNICAST
+};
static struct dn_fib_rule *dn_fib_rules = &default_rule;
static rwlock_t dn_fib_rules_lock = RW_LOCK_UNLOCKED;
@@ -291,9 +296,7 @@
static struct notifier_block dn_fib_rules_notifier = {
- dn_fib_rules_event,
- NULL,
- 0
+ notifier_call: dn_fib_rules_event,
};
#ifdef CONFIG_RTNETLINK
|