diff options
| author | stephen hemminger <stephen@networkplumber.org> | 2016-08-31 18:19:37 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-09-01 17:09:00 -0400 |
| commit | 3f18ff2b42b95d57df79af50f1149d698e699c0e (patch) | |
| tree | 8102905a1a3a85a1483c609b6c209c2c6c612806 /net/ipv4/fou.c | |
| parent | 3ee5256da092a4047e54dc36e4d6d45ca49652a6 (diff) | |
fou: make nla_policy const
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fou.c')
| -rw-r--r-- | net/ipv4/fou.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/fou.c b/net/ipv4/fou.c index 321d57f825ce..cf50f7e2b012 100644 --- a/net/ipv4/fou.c +++ b/net/ipv4/fou.c | |||
| @@ -631,7 +631,7 @@ static struct genl_family fou_nl_family = { | |||
| 631 | .netnsok = true, | 631 | .netnsok = true, |
| 632 | }; | 632 | }; |
| 633 | 633 | ||
| 634 | static struct nla_policy fou_nl_policy[FOU_ATTR_MAX + 1] = { | 634 | static const struct nla_policy fou_nl_policy[FOU_ATTR_MAX + 1] = { |
| 635 | [FOU_ATTR_PORT] = { .type = NLA_U16, }, | 635 | [FOU_ATTR_PORT] = { .type = NLA_U16, }, |
| 636 | [FOU_ATTR_AF] = { .type = NLA_U8, }, | 636 | [FOU_ATTR_AF] = { .type = NLA_U8, }, |
| 637 | [FOU_ATTR_IPPROTO] = { .type = NLA_U8, }, | 637 | [FOU_ATTR_IPPROTO] = { .type = NLA_U8, }, |
