ipv4: fill in table id when replacing a route
authorMichal Kubeček <mkubecek@suse.cz>
Fri, 22 May 2015 11:40:09 +0000 (13:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 May 2015 18:33:17 +0000 (14:33 -0400)
commitd4e64c2909231222ceba0999d921e7ac8908f656
tree93271a649c38d40069ae1ad30e9d12a95a2748eb
parent44f6731d8b68fa02f5ed65eaceac41f8c3c9279e
ipv4: fill in table id when replacing a route

When replacing an IPv4 route, tb_id member of the new fib_alias
structure is not set in the replace code path so that the new route is
ignored.

Fixes: 0ddcf43d5d4a ("ipv4: FIB Local/MAIN table collapse")
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Acked-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c