diff options
author | Eric Dumazet <[email protected]> | 2010-09-21 21:17:32 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2010-09-22 13:13:33 -0700 |
commit | 15cdeadaa5d76009e20c7792aed69f5a73808f97 (patch) | |
tree | 11eb05f550c046b3099d52df146948dce0c12635 /net/unix/sysctl_net_unix.c | |
parent | b46ffb854554ff939701bdd492b81558da5706fc (diff) |
netfilter: fix a race in nf_ct_ext_create()
As soon as rcu_read_unlock() is called, there is no guarantee current
thread can safely derefence t pointer, rcu protected.
Fix is to copy t->alloc_size in a temporary variable.
Signed-off-by: Eric Dumazet <[email protected]>
Reviewed-by: Paul E. McKenney <[email protected]>
Signed-off-by: Patrick McHardy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions