diff options
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/cipso_ipv4.c | 2 | ||||
-rw-r--r-- | net/ipv4/fib_rules.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/cipso_ipv4.c b/net/ipv4/cipso_ipv4.c index b82a101c95c5..80a2a0911b49 100644 --- a/net/ipv4/cipso_ipv4.c +++ b/net/ipv4/cipso_ipv4.c | |||
@@ -60,7 +60,7 @@ struct cipso_v4_domhsh_entry { | |||
60 | * if in practice there are a lot of different DOIs this list should | 60 | * if in practice there are a lot of different DOIs this list should |
61 | * probably be turned into a hash table or something similar so we | 61 | * probably be turned into a hash table or something similar so we |
62 | * can do quick lookups. */ | 62 | * can do quick lookups. */ |
63 | DEFINE_SPINLOCK(cipso_v4_doi_list_lock); | 63 | static DEFINE_SPINLOCK(cipso_v4_doi_list_lock); |
64 | static struct list_head cipso_v4_doi_list = LIST_HEAD_INIT(cipso_v4_doi_list); | 64 | static struct list_head cipso_v4_doi_list = LIST_HEAD_INIT(cipso_v4_doi_list); |
65 | 65 | ||
66 | /* Label mapping cache */ | 66 | /* Label mapping cache */ |
diff --git a/net/ipv4/fib_rules.c b/net/ipv4/fib_rules.c index 23ec6ae1a0f6..03d1e8a43a48 100644 --- a/net/ipv4/fib_rules.c +++ b/net/ipv4/fib_rules.c | |||
@@ -101,8 +101,8 @@ int fib_lookup(struct flowi *flp, struct fib_result *res) | |||
101 | return err; | 101 | return err; |
102 | } | 102 | } |
103 | 103 | ||
104 | int fib4_rule_action(struct fib_rule *rule, struct flowi *flp, int flags, | 104 | static int fib4_rule_action(struct fib_rule *rule, struct flowi *flp, |
105 | struct fib_lookup_arg *arg) | 105 | int flags, struct fib_lookup_arg *arg) |
106 | { | 106 | { |
107 | int err = -EAGAIN; | 107 | int err = -EAGAIN; |
108 | struct fib_table *tbl; | 108 | struct fib_table *tbl; |