summaryrefslogtreecommitdiffstats
path: root/include/net/ip_fib.h
diff options
context:
space:
mode:
authorPatrick McHardy2007-06-05 21:38:30 +0200
committerDavid S. Miller2007-06-07 22:40:10 +0200
commitef7c79ed645f52bcbdd88f8d54a9702c4d3fd15d (patch)
tree4c27ec3362d958b99672366437d5eb6038dd561d /include/net/ip_fib.h
parent[TCP] tcp_probe: Attach printf attribute properly to printl(). (diff)
downloadkernel-qcow2-linux-ef7c79ed645f52bcbdd88f8d54a9702c4d3fd15d.tar.gz
kernel-qcow2-linux-ef7c79ed645f52bcbdd88f8d54a9702c4d3fd15d.tar.xz
kernel-qcow2-linux-ef7c79ed645f52bcbdd88f8d54a9702c4d3fd15d.zip
[NETLINK]: Mark netlink policies const
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip_fib.h')
-rw-r--r--include/net/ip_fib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h
index 5a4a0366c24f..69252cbe05b0 100644
--- a/include/net/ip_fib.h
+++ b/include/net/ip_fib.h
@@ -213,7 +213,7 @@ extern void fib_select_default(const struct flowi *flp, struct fib_result *res);
#endif /* CONFIG_IP_MULTIPLE_TABLES */
/* Exported by fib_frontend.c */
-extern struct nla_policy rtm_ipv4_policy[];
+extern const struct nla_policy rtm_ipv4_policy[];
extern void ip_fib_init(void);
extern int fib_validate_source(__be32 src, __be32 dst, u8 tos, int oif,
struct net_device *dev, __be32 *spec_dst, u32 *itag);