aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_trie.c
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2007-12-08 03:22:13 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:57:00 -0500
commitc17860a039bbde134324ad6f9331500635f5799d (patch)
tree0edd5f21bd2494d2b7bfd79a67d68888afb3c9f4 /net/ipv4/fib_trie.c
parent7e5449c21562f1554d2c355db1ec9d3e4f434288 (diff)
[IPV4]: no need pass pointer to a default into fib_detect_death
ipv4: no need pass pointer to a default into fib_detect_death Signed-off-by: Denis V. Lunev <den@openvz.org> Acked-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_trie.c')
-rw-r--r--net/ipv4/fib_trie.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c
index 13a80aa911d8..d48a9bbcf54d 100644
--- a/net/ipv4/fib_trie.c
+++ b/net/ipv4/fib_trie.c
@@ -1830,7 +1830,7 @@ fn_trie_select_default(struct fib_table *tb, const struct flowi *flp, struct fib
1830 if (next_fi != res->fi) 1830 if (next_fi != res->fi)
1831 break; 1831 break;
1832 } else if (!fib_detect_death(fi, order, &last_resort, 1832 } else if (!fib_detect_death(fi, order, &last_resort,
1833 &last_idx, &trie_last_dflt)) { 1833 &last_idx, trie_last_dflt)) {
1834 if (res->fi) 1834 if (res->fi)
1835 fib_info_put(res->fi); 1835 fib_info_put(res->fi);
1836 res->fi = fi; 1836 res->fi = fi;
@@ -1846,7 +1846,7 @@ fn_trie_select_default(struct fib_table *tb, const struct flowi *flp, struct fib
1846 goto out; 1846 goto out;
1847 } 1847 }
1848 1848
1849 if (!fib_detect_death(fi, order, &last_resort, &last_idx, &trie_last_dflt)) { 1849 if (!fib_detect_death(fi, order, &last_resort, &last_idx, trie_last_dflt)) {
1850 if (res->fi) 1850 if (res->fi)
1851 fib_info_put(res->fi); 1851 fib_info_put(res->fi);
1852 res->fi = fi; 1852 res->fi = fi;