git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libertas: remove extraneous select FW_LOADER
[safe/jmp/linux-2.6]
/
net
/
decnet
/
dn_rules.c
diff --git
a/net/decnet/dn_rules.c
b/net/decnet/dn_rules.c
index
964e658
..
72495f2
100644
(file)
--- a/
net/decnet/dn_rules.c
+++ b/
net/decnet/dn_rules.c
@@
-115,7
+115,7
@@
static int dn_fib_rule_match(struct fib_rule *rule, struct flowi *fl, int flags)
}
static int dn_fib_rule_configure(struct fib_rule *rule, struct sk_buff *skb,
}
static int dn_fib_rule_configure(struct fib_rule *rule, struct sk_buff *skb,
- struct
nlmsghdr *nlh, struct
fib_rule_hdr *frh,
+ struct fib_rule_hdr *frh,
struct nlattr **tb)
{
int err = -EINVAL;
struct nlattr **tb)
{
int err = -EINVAL;
@@
-192,7
+192,7
@@
unsigned dnet_addr_type(__le16 addr)
}
static int dn_fib_rule_fill(struct fib_rule *rule, struct sk_buff *skb,
}
static int dn_fib_rule_fill(struct fib_rule *rule, struct sk_buff *skb,
- struct
nlmsghdr *nlh, struct
fib_rule_hdr *frh)
+ struct fib_rule_hdr *frh)
{
struct dn_fib_rule *r = (struct dn_fib_rule *)rule;
{
struct dn_fib_rule *r = (struct dn_fib_rule *)rule;
@@
-229,7
+229,7
@@
static u32 dn_fib_rule_default_pref(struct fib_rules_ops *ops)
return 0;
}
return 0;
}
-static void dn_fib_rule_flush_cache(
void
)
+static void dn_fib_rule_flush_cache(
struct fib_rules_ops *ops
)
{
dn_rt_cache_flush(-1);
}
{
dn_rt_cache_flush(-1);
}
@@
-256,12
+256,12
@@
void __init dn_fib_rules_init(void)
{
BUG_ON(fib_default_rule_add(&dn_fib_rules_ops, 0x7fff,
RT_TABLE_MAIN, 0));
{
BUG_ON(fib_default_rule_add(&dn_fib_rules_ops, 0x7fff,
RT_TABLE_MAIN, 0));
- fib_rules_register(&
init_net, &
dn_fib_rules_ops);
+ fib_rules_register(&dn_fib_rules_ops);
}
void __exit dn_fib_rules_cleanup(void)
{
}
void __exit dn_fib_rules_cleanup(void)
{
- fib_rules_unregister(&
init_net, &
dn_fib_rules_ops);
+ fib_rules_unregister(&dn_fib_rules_ops);
}
}