net: ipv4: fib_trie: Don't unnecessarily search for already found fib leaf
authorIgor Maravic <igorm@etf.rs>
Mon, 13 Aug 2012 08:26:08 +0000 (10:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Aug 2012 22:02:20 +0000 (15:02 -0700)
commitad5b310228da567e35a2ea5dcb2fd62e3a36654e
tree4c2291a9c0026e8ff3080dc612b9e6bd7dcc54b6
parent418a99ac6ad487dc9c42e6b0e85f941af56330f2
net: ipv4: fib_trie: Don't unnecessarily search for already found fib leaf

We've already found leaf, don't search for it again. Same is for fib leaf info.

Signed-off-by: Igor Maravic <igorm@etf.rs>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c