projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c473463
)
mpls: rtm_mpls_policy[] can be static
author
Wu Fengguang
<fengguang.wu@intel.com>
Wed, 4 Mar 2015 21:33:54 +0000
(
05:33
+0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 4 Mar 2015 21:39:45 +0000
(16:39 -0500)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mpls/af_mpls.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mpls/af_mpls.c
b/net/mpls/af_mpls.c
index 75a994a5038136b0afaeb008dab95aefa0bb320a..23e51d13b0ff34a25218ba2016667a86d59ed6ce 100644
(file)
--- a/
net/mpls/af_mpls.c
+++ b/
net/mpls/af_mpls.c
@@
-216,7
+216,7
@@
static struct packet_type mpls_packet_type __read_mostly = {
.func = mpls_forward,
};
-const struct nla_policy rtm_mpls_policy[RTA_MAX+1] = {
+
static
const struct nla_policy rtm_mpls_policy[RTA_MAX+1] = {
[RTA_DST] = { .type = NLA_U32 },
[RTA_OIF] = { .type = NLA_U32 },
};