netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Patch net-next v4 0/2] net_sched: clean up tc filter destroy and delete logic
@ 2017-04-19 21:21 Cong Wang
  2017-04-19 21:21 ` [Patch net-next v4 1/2] net_sched: move the empty tp check from ->destroy() to ->delete() Cong Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Cong Wang @ 2017-04-19 21:21 UTC (permalink / raw)
  To: netdev; +Cc: Cong Wang

The first patch fixes a potenial race condition, the second one
is pure cleanup.

Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>

---
v4: split the patch and update changelog
v3: fix a compiler warning
v2: rebase

Cong Wang (2):
  net_sched: move the empty tp check from ->destroy() to ->delete()
  net_sched: remove useless NULL to tp->root

 include/net/sch_generic.h |  4 +--
 net/sched/cls_api.c       | 27 +++++++++---------
 net/sched/cls_basic.c     | 10 +++----
 net/sched/cls_bpf.c       | 11 ++++----
 net/sched/cls_cgroup.c    |  8 ++----
 net/sched/cls_flow.c      | 10 +++----
 net/sched/cls_flower.c    | 10 ++-----
 net/sched/cls_fw.c        | 30 +++++++++++---------
 net/sched/cls_matchall.c  |  7 ++---
 net/sched/cls_route.c     | 44 ++++++++++-------------------
 net/sched/cls_rsvp.h      | 36 ++++++++++++------------
 net/sched/cls_tcindex.c   | 14 +++++-----
 net/sched/cls_u32.c       | 71 +++++++++++++++++++++++++++--------------------
 13 files changed, 134 insertions(+), 148 deletions(-)

-- 
2.5.5

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-04-21 17:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-19 21:21 [Patch net-next v4 0/2] net_sched: clean up tc filter destroy and delete logic Cong Wang
2017-04-19 21:21 ` [Patch net-next v4 1/2] net_sched: move the empty tp check from ->destroy() to ->delete() Cong Wang
2017-04-20  9:10   ` Daniel Borkmann
2017-04-19 21:21 ` [Patch net-next v4 2/2] net_sched: remove useless NULL to tp->root Cong Wang
2017-04-21 17:59 ` [Patch net-next v4 0/2] net_sched: clean up tc filter destroy and delete logic David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).