Updated from Linux LTS 3.10.22 to 3.10.23
This commit is contained in:
@@ -453,8 +453,10 @@ static int mem_check(struct sock *sk)
|
||||
if (room > FL_MAX_SIZE - FL_MAX_PER_SOCK)
|
||||
return 0;
|
||||
|
||||
rcu_read_lock_bh();
|
||||
for_each_sk_fl_rcu(np, sfl)
|
||||
count++;
|
||||
rcu_read_unlock_bh();
|
||||
|
||||
if (room <= 0 ||
|
||||
((count >= FL_MAX_PER_SOCK ||
|
||||
|
||||
Reference in New Issue
Block a user