]> 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)
commit56e0e5d624348ab832e77819859c107e83dd20fc
tree86594c639179f0773dbdcab526cea42ed1a0bef0
parent7e69d4567cb9cabdb4a4c800485994e201a3df38
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