mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 10:33:27 +00:00
ipv4: fix rcu lock imbalance in fib_select_default()
Commit 0c838ff1ad
(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>
This commit is contained in:
parent
881ff67ad4
commit
31d409373c
1 changed files with 1 additions and 1 deletions
|
@ -1189,7 +1189,7 @@ void fib_select_default(struct fib_result *res)
|
|||
fib_result_assign(res, last_resort);
|
||||
tb->tb_default = last_idx;
|
||||
out:
|
||||
rcu_read_unlock();
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_IP_ROUTE_MULTIPATH
|
||||
|
|
Loading…
Reference in a new issue