]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
pkt_sched: remove unnecessary xchg() in packet classifiers
authorPatrick McHardy <kaber@trash.net>
Wed, 19 Nov 2008 08:03:09 +0000 (08:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Nov 2008 12:14:28 +0000 (04:14 -0800)
commit47a1a1d4be2910b13a8e90f75c17e253c39531ff
treec900f283bd96f0b26236152ada24f9a113f65e2b
parentb94c8afcba3ae6584653b98e315446ea83be6ea5
pkt_sched: remove unnecessary xchg() in packet classifiers

The use of xchg() hasn't been necessary since 2.2.something when proper
locking was added to packet schedulers. In the case of classifiers they
mostly weren't even necessary before that since they're mainly used
to assign a NULL pointer to the filter root in the ->destroy path;
the root is destroyed immediately after that.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_api.c
net/sched/cls_basic.c
net/sched/cls_cgroup.c
net/sched/cls_fw.c
net/sched/cls_route.c
net/sched/cls_tcindex.c
net/sched/cls_u32.c