]> 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:29:59 +0000 (12:29 -0400)
commitdc54cf9365075591e91ea129f8d1a71cf9c73bd8
tree86594c639179f0773dbdcab526cea42ed1a0bef0
parent4c3b3275f265c7a3c3fcd8157ffc3e3e7132b44f
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