]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: remove tcf_proto from ematch calls
authorJohn Fastabend <john.fastabend@gmail.com>
Mon, 6 Oct 2014 04:27:53 +0000 (21:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Oct 2014 22:02:32 +0000 (18:02 -0400)
commitd90555d69cbd313884cb6a743db3fcf2fc48ae59
treed16362829e33070f8367876205659fbf271ecfc2
parentbb43bbb71f17e4f81ec1e2ad43d6a64300af797a
net: sched: remove tcf_proto from ematch calls

This removes the tcf_proto argument from the ematch code paths that
only need it to reference the net namespace. This allows simplifying
qdisc code paths especially when we need to tear down the ematch
from an RCU callback. In this case we can not guarentee that the
tcf_proto structure is still valid.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Cong Wang <cwang@twopensource.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_cls.h
net/sched/cls_basic.c
net/sched/cls_cgroup.c
net/sched/cls_flow.c
net/sched/em_canid.c
net/sched/em_ipset.c
net/sched/em_meta.c
net/sched/em_nbyte.c
net/sched/em_text.c
net/sched/ematch.c