diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2017-05-23 19:42:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-25 19:15:05 +0300 |
commit | 367a8ce896f14018cc2c6cf2681aa440fff274f4 (patch) | |
tree | 50c730e41e49111e669a94750700c3acddb7b1ef /drivers/char/efirtc.c | |
parent | ee538dcea28930bd95606fe00a834935d6fb5613 (diff) | |
download | linux-367a8ce896f14018cc2c6cf2681aa440fff274f4.tar.xz |
net_sched: only create filter chains for new filters/actions
tcf_chain_get() always creates a new filter chain if not found
in existing ones. This is totally unnecessary when we get or
delete filters, new chain should be only created for new filters
(or new actions).
Fixes: 5bc1701881e3 ("net: sched: introduce multichain support for filters")
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/char/efirtc.c')
0 files changed, 0 insertions, 0 deletions