netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Cong Wang <xiyou.wangcong@gmail.com>
To: netdev@vger.kernel.org
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Subject: [Patch net-next v4 0/2] net_sched: clean up tc filter destroy and delete logic
Date: Wed, 19 Apr 2017 14:21:20 -0700	[thread overview]
Message-ID: <1492636882-19571-1-git-send-email-xiyou.wangcong@gmail.com> (raw)

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

             reply	other threads:[~2017-04-19 21:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-19 21:21 Cong Wang [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1492636882-19571-1-git-send-email-xiyou.wangcong@gmail.com \
    --to=xiyou.wangcong@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).