summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2008-06-03 16:36:27 -0700
committerDavid S. Miller <davem@davemloft.net>2008-06-03 16:36:27 -0700
commit1f9d11c7c99da706e33646c3a9080dd5a8ef9a0b (patch)
treeafd44a0780cace76bab90a48a9ba89ee4dfb6684 /net
parent51b77cae0d5aa8e1546fca855dcfe48ddfadfa9c (diff)
downloadlinux-stable-1f9d11c7c99da706e33646c3a9080dd5a8ef9a0b.tar.gz
linux-stable-1f9d11c7c99da706e33646c3a9080dd5a8ef9a0b.tar.bz2
linux-stable-1f9d11c7c99da706e33646c3a9080dd5a8ef9a0b.zip
route: Mark unused routing attributes as such
Also removes an unused policy entry for an attribute which is only used in kernel->user direction. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/fib_frontend.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c
index 0f1557a4ac7a..0b2ac6a3d903 100644
--- a/net/ipv4/fib_frontend.c
+++ b/net/ipv4/fib_frontend.c
@@ -506,7 +506,6 @@ const struct nla_policy rtm_ipv4_policy[RTA_MAX+1] = {
[RTA_PREFSRC] = { .type = NLA_U32 },
[RTA_METRICS] = { .type = NLA_NESTED },
[RTA_MULTIPATH] = { .len = sizeof(struct rtnexthop) },
- [RTA_PROTOINFO] = { .type = NLA_U32 },
[RTA_FLOW] = { .type = NLA_U32 },
};