OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
881ff67
)
ipv4: fix rcu lock imbalance in fib_select_default()
author
Eric Dumazet
<eric.dumazet@gmail.com>
Mon, 14 Feb 2011 19:23:04 +0000
(11:23 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 14 Feb 2011 19:23:04 +0000
(11:23 -0800)
Commit
0c838ff1ade7
(ipv4: Consolidate all default route selection
implementations.) forgot to remove one rcu_read_unlock() from
fib_select_default().
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_semantics.c
patch
|
blob
|
history
diff --git
a/net/ipv4/fib_semantics.c
b/net/ipv4/fib_semantics.c
index
146bd82
..
562f34c
100644
(file)
--- a/
net/ipv4/fib_semantics.c
+++ b/
net/ipv4/fib_semantics.c
@@
-1189,7
+1189,7
@@
void fib_select_default(struct fib_result *res)
fib_result_assign(res, last_resort);
tb->tb_default = last_idx;
out:
- r
cu_read_unlock()
;
+ r
eturn
;
}
#ifdef CONFIG_IP_ROUTE_MULTIPATH