mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shinas Rasheed <srasheed@marvell.com>
To: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Cc: <hgani@marvell.com>, <sedara@marvell.com>, <vimleshk@marvell.com>,
	<wizhao@redhat.com>, <horms@kernel.org>, <kongyen@redhat.com>,
	<pabeni@redhat.com>, <kheib@redhat.com>, <mschmidt@redhat.com>,
	"Shinas Rasheed" <srasheed@marvell.com>
Subject: [PATCH net v1 0/3] Double free fixes and NULL pointer checks
Date: Fri, 1 Nov 2024 03:34:12 -0700	[thread overview]
Message-ID: <20241101103416.1064930-1-srasheed@marvell.com> (raw)

Fix double frees which happen on reset scenarios, and add
NULL pointer checks for when rare cases might trigger
dereferences of such.

Shinas Rasheed (2):
  octeon_ep: add checks to fix NULL pointer dereferences
  octeon_ep_vf: add checks to fix NULL pointer dereferences

Vimlesh Kumar (1):
  octeon_ep: Add checks to fix double free crashes.

 .../marvell/octeon_ep/octep_cn9k_pf.c         |  9 +++-
 .../marvell/octeon_ep/octep_cnxk_pf.c         |  9 +++-
 .../ethernet/marvell/octeon_ep/octep_main.c   | 42 ++++++++++++-------
 .../net/ethernet/marvell/octeon_ep/octep_tx.c |  2 +
 .../marvell/octeon_ep_vf/octep_vf_cn9k.c      |  8 +++-
 .../marvell/octeon_ep_vf/octep_vf_cnxk.c      | 12 +++++-
 .../marvell/octeon_ep_vf/octep_vf_main.c      |  3 ++
 7 files changed, 65 insertions(+), 20 deletions(-)

-- 
2.25.1


             reply	other threads:[~2024-11-01 10:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-01 10:34 Shinas Rasheed [this message]
2024-11-01 10:34 ` [PATCH net v1 1/3] octeon_ep: Add checks to fix double free crashes Shinas Rasheed
2024-11-01 10:34 ` [PATCH net v1 2/3] octeon_ep: add checks to fix NULL pointer dereferences Shinas Rasheed
2024-11-05 12:25   ` Simon Horman
2024-11-01 10:34 ` [PATCH net v1 3/3] octeon_ep_vf: " Shinas Rasheed

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=20241101103416.1064930-1-srasheed@marvell.com \
    --to=srasheed@marvell.com \
    --cc=hgani@marvell.com \
    --cc=horms@kernel.org \
    --cc=kheib@redhat.com \
    --cc=kongyen@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mschmidt@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sedara@marvell.com \
    --cc=vimleshk@marvell.com \
    --cc=wizhao@redhat.com \
    /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

all inboxes | Powered by JetHome®