diff options
author | David S. Miller <davem@davemloft.net> | 2008-06-13 23:52:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-13 23:52:39 -0400 |
commit | 4ae127d1b6c71f9240dd4245f240e6dd8fc98014 (patch) | |
tree | b7aa27b3e0c655f4613fe2146cb57d7f69e421f6 /net/ipv4/fib_semantics.c | |
parent | 875ec4333b99144e2589e900a0bcd2c25c757b27 (diff) | |
parent | 7775c9753b94fe429dc4323360d6502c95e0dd6e (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/smc911x.c
Diffstat (limited to 'net/ipv4/fib_semantics.c')
-rw-r--r-- | net/ipv4/fib_semantics.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c index 9335eba683c3..ded2ae34eab1 100644 --- a/net/ipv4/fib_semantics.c +++ b/net/ipv4/fib_semantics.c | |||
@@ -958,7 +958,10 @@ int fib_dump_info(struct sk_buff *skb, u32 pid, u32 seq, int event, | |||
958 | rtm->rtm_dst_len = dst_len; | 958 | rtm->rtm_dst_len = dst_len; |
959 | rtm->rtm_src_len = 0; | 959 | rtm->rtm_src_len = 0; |
960 | rtm->rtm_tos = tos; | 960 | rtm->rtm_tos = tos; |
961 | rtm->rtm_table = tb_id; | 961 | if (tb_id < 256) |
962 | rtm->rtm_table = tb_id; | ||
963 | else | ||
964 | rtm->rtm_table = RT_TABLE_COMPAT; | ||
962 | NLA_PUT_U32(skb, RTA_TABLE, tb_id); | 965 | NLA_PUT_U32(skb, RTA_TABLE, tb_id); |
963 | rtm->rtm_type = type; | 966 | rtm->rtm_type = type; |
964 | rtm->rtm_flags = fi->fib_flags; | 967 | rtm->rtm_flags = fi->fib_flags; |