]> git.baikalelectronics.ru Git - kernel.git/commit
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:30:26 +0000 (12:30 -0400)
commit644cf804581248330e194d21c9cb93ace60f8dc0
tree86594c639179f0773dbdcab526cea42ed1a0bef0
parent3f065784c809266b869547929441dead3050dd52
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