Netdev List
 help / color / mirror / Atom feed
From: zhong jiang <zhongjiang@huawei.com>
To: <davem@davemloft.net>
Cc: <kuznet@ms2.inr.ac.ru>, <yoshfuji@linux-ipv6.org>,
	<santosh@chelsio.com>, <netdev@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: [PATCH 0/6] net: remove redundant null pointer check before kfree_skb
Date: Thu, 20 Sep 2018 17:37:40 +0800	[thread overview]
Message-ID: <1537436266-41955-1-git-send-email-zhongjiang@huawei.com> (raw)

The issue is detected with the help of Coccinelle.

zhong jiang (6):
  net: tap: remove redundant null pointer check before kfree_skb
  net: cxgb3: remove redundant null pointer check before kfree_skb
  ipv4: remove redundant null pointer check before kfree_skb
  net: nci: remove redundant null pointer check before kfree_skb
  net: cxgb3_main: remove redundant null pointer check before kfree_skb
  ipv6: remove redundant null pointer check before kfree_skb

 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c    | 3 +--
 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c | 3 +--
 drivers/net/tap.c                                  | 6 ++----
 net/ipv4/ip_fragment.c                             | 3 +--
 net/ipv6/af_inet6.c                                | 6 ++----
 net/nfc/nci/uart.c                                 | 6 ++----
 6 files changed, 9 insertions(+), 18 deletions(-)

-- 
1.7.12.4

             reply	other threads:[~2018-09-20  9:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-20  9:37 zhong jiang [this message]
2018-09-20  9:37 ` [PATCH 1/6] net: tap: remove redundant null pointer check before kfree_skb zhong jiang
2018-09-20  9:37 ` [PATCH 2/6] net: cxgb3: " zhong jiang
2018-09-20  9:37 ` [PATCH 3/6] ipv4: " zhong jiang
2018-09-20  9:37 ` [PATCH 4/6] net: nci: " zhong jiang
2018-09-20  9:37 ` [PATCH 5/6] net: cxgb3_main: " zhong jiang
2018-09-20  9:37 ` [PATCH 6/6] ipv6: " zhong jiang

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=1537436266-41955-1-git-send-email-zhongjiang@huawei.com \
    --to=zhongjiang@huawei.com \
    --cc=davem@davemloft.net \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=santosh@chelsio.com \
    --cc=yoshfuji@linux-ipv6.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