net: sched: RCU cls_route
authorJohn Fastabend <john.fastabend@gmail.com>
Sat, 13 Sep 2014 03:07:50 +0000 (20:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Sep 2014 16:29:59 +0000 (12:29 -0400)
commitcc91210cd2f6832db1a174269627d97b7d4f2c80
tree86594c639179f0773dbdcab526cea42ed1a0bef0
parent1f31fea5a69089a40561548ff5931bc5e4e79b61
net: sched: RCU cls_route

RCUify the route classifier. For now however spinlock's are used to
protect fastmap cache.

The issue here is the fastmap may be read by one CPU while the
cache is being updated by another. An array of pointers could be
one possible solution.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_route.c