summaryrefslogtreecommitdiffstats
path: root/net/core/net-sysfs.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-09-27 06:07:30 +0000
committerDavid S. Miller <davem@davemloft.net>2010-09-27 21:30:44 -0700
commitf91ff5b9ff529be8aac2039af63b2c8ea6cd6ebe (patch)
tree21af332c509f7ba24699e7a6784f60b48f1baa45 /net/core/net-sysfs.h
parent7fa7cb7109d07c29ab28bb877bc7049a0150dbe5 (diff)
downloadlinux-f91ff5b9ff529be8aac2039af63b2c8ea6cd6ebe.tar.bz2
net: sk_{detach|attach}_filter() rcu fixes
sk_attach_filter() and sk_detach_filter() are run with socket locked. Use the appropriate rcu_dereference_protected() instead of blocking BH, and rcu_dereference_bh(). There is no point adding BH prevention and memory barrier. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net-sysfs.h')
0 files changed, 0 insertions, 0 deletions