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:
3ee5256
)
fou: make nla_policy const
author
stephen hemminger
<stephen@networkplumber.org>
Wed, 31 Aug 2016 22:19:37 +0000
(15:19 -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/ipv4/fou.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/fou.c
b/net/ipv4/fou.c
index 321d57f825ce00fe4f280301f76f0cf2346a4025..cf50f7e2b0124d3bfa6ad2caae65cf1cf590ad44 100644
(file)
--- a/
net/ipv4/fou.c
+++ b/
net/ipv4/fou.c
@@
-631,7
+631,7
@@
static struct genl_family fou_nl_family = {
.netnsok = true,
};
-static struct nla_policy fou_nl_policy[FOU_ATTR_MAX + 1] = {
+static
const
struct nla_policy fou_nl_policy[FOU_ATTR_MAX + 1] = {
[FOU_ATTR_PORT] = { .type = NLA_U16, },
[FOU_ATTR_AF] = { .type = NLA_U8, },
[FOU_ATTR_IPPROTO] = { .type = NLA_U8, },
This page took
0.025566 seconds
and
5
git commands to generate.