summaryrefslogtreecommitdiffstats
path: root/net/irda/irlmp_event.c
diff options
context:
space:
mode:
authorJarek Poplawski2009-01-06 03:14:19 +0100
committerDavid S. Miller2009-01-06 03:14:19 +0100
commit6f57321422e0d359e83c978c2b03db77b967b7d5 (patch)
tree80d92a8fff5b5ae27ca618f34acf9d696289d6ba /net/irda/irlmp_event.c
parentiucv: fix cpu hotplug (diff)
downloadkernel-qcow2-linux-6f57321422e0d359e83c978c2b03db77b967b7d5.tar.gz
kernel-qcow2-linux-6f57321422e0d359e83c978c2b03db77b967b7d5.tar.xz
kernel-qcow2-linux-6f57321422e0d359e83c978c2b03db77b967b7d5.zip
pkt_sched: cls_u32: Fix locking in u32_change()
New nodes are inserted in u32_change() under rtnl_lock() with wmb(), so without tcf_tree_lock() like in other classifiers (e.g. cls_fw). This isn't enough without rmb() on the read side, but on the other hand adding such barriers doesn't give any savings, so the lock is added instead. Reported-by: m0sia <m0sia@plotinka.ru> Signed-off-by: Jarek Poplawski <jarkao2@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda/irlmp_event.c')
0 files changed, 0 insertions, 0 deletions