projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deeb91f
)
netns: make nla_policy const
author
stephen hemminger
<stephen@networkplumber.org>
Wed, 31 Aug 2016 22:17:49 +0000
(15:17 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 1 Sep 2016 21:09:00 +0000
(14:09 -0700)
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net_namespace.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/net_namespace.c
b/net/core/net_namespace.c
index 1fe58167d39a6fb907be443765693e328a1e6b7e..7a77dcabd4e878ac6ab9338718fdbd8dd7ea423c 100644
(file)
--- a/
net/core/net_namespace.c
+++ b/
net/core/net_namespace.c
@@
-533,7
+533,7
@@
static struct pernet_operations __net_initdata net_ns_ops = {
.exit = net_ns_net_exit,
};
-static struct nla_policy rtnl_net_policy[NETNSA_MAX + 1] = {
+static
const
struct nla_policy rtnl_net_policy[NETNSA_MAX + 1] = {
[NETNSA_NONE] = { .type = NLA_UNSPEC },
[NETNSA_NSID] = { .type = NLA_S32 },
[NETNSA_PID] = { .type = NLA_U32 },
This page took
0.025579 seconds
and
5
git commands to generate.