OSDN Git Service

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)
commit1109c00547fc66df45b9ff923544be4c1e1bec13
tree86594c639179f0773dbdcab526cea42ed1a0bef0
parente35a8ee5993ba81fd6c092f6827458c60406255b
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