pkt_sched: Use rcu_assign_pointer() to change dev_queue->qdisc
authorJarek Poplawski <jarkao2@gmail.com>
Wed, 27 Aug 2008 09:22:07 +0000 (02:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Aug 2008 09:22:07 +0000 (02:22 -0700)
commitf7a54c13c7b072d9426bd5cec1cdb8306df5ef55
tree12134183d09f0826e0488fd281e6c0b830270d37
parent666d9bbedfff7c2c37eab92e715641922dee6864
pkt_sched: Use rcu_assign_pointer() to change dev_queue->qdisc

These pointers are RCU protected, so proper primitives should be used.

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c
net/sched/sch_generic.c