]> git.baikalelectronics.ru Git - kernel.git/commit
net_sched: act_gact: read tcfg_ptype once
authorEric Dumazet <edumazet@google.com>
Mon, 6 Jul 2015 12:18:07 +0000 (05:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jul 2015 20:50:42 +0000 (13:50 -0700)
commit88c886c9e4f820d267ade5d34aab885df3531ebe
treea9eab96bbfdf0be97e2d78a165edcdc769d5ca08
parentd3bb0ee796a00f68199d3ff2e62bf09615c47446
net_sched: act_gact: read tcfg_ptype once

Third step for gact RCU operation :

Following patch will get rid of spinlock protection,
so we need to read tcfg_ptype once.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_gact.c