X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Fsched%2Fcls_u32.c;h=07372f60bee3364588cb94fcfcad1cc7bee514e5;hb=e3237e3c60c1f4a790b4e521e406b3ffff74f9bc;hp=05d178008cbc9046d682f2bc2dbc01ce1e85737b;hpb=4aa12f7b927c3cac0e0cf3503642597527d0ece0;p=karo-tx-linux.git diff --git a/net/sched/cls_u32.c b/net/sched/cls_u32.c index 05d178008cbc..07372f60bee3 100644 --- a/net/sched/cls_u32.c +++ b/net/sched/cls_u32.c @@ -638,8 +638,9 @@ static int u32_change(struct tcf_proto *tp, unsigned long base, u32 handle, break; n->next = *ins; - wmb(); + tcf_tree_lock(tp); *ins = n; + tcf_tree_unlock(tp); *arg = (unsigned long)n; return 0;