mirror of
https://github.com/joel16/android_kernel_sony_msm8994_rework.git
synced 2025-01-11 22:46:36 +00:00
ipv4: fix rcu lock imbalance in fib_select_default()
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>
This commit is contained in:
parent
881ff67ad4
commit
31d409373c
@ -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…
x
Reference in New Issue
Block a user