netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: jglauber@cavium.com
Cc: netdev@vger.kernel.org, rad@semihalf.com, aleksey.makarov@cavium.com
Subject: Re: [PATCH] net: cavium: fix NULL pointer dereference in cavium_ptp_put
Date: Mon, 12 Feb 2018 14:39:04 -0500 (EST)	[thread overview]
Message-ID: <20180212.143904.1678683888588104316.davem@davemloft.net> (raw)
In-Reply-To: <20180212172011.28854-1-jglauber@cavium.com>

From: Jan Glauber <jglauber@cavium.com>
Date: Mon, 12 Feb 2018 18:20:11 +0100

> Prevent a kernel panic on reboot if ptp_clock is NULL by checking
> the ptp pointer before using it.
> 
> Signed-off-by: Jan Glauber <jglauber@cavium.com>
> Fixes: 8c56df372bc1 ("net: add support for Cavium PTP coprocessor")

Applied, thank you.

      reply	other threads:[~2018-02-12 19:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-12 17:20 [PATCH] net: cavium: fix NULL pointer dereference in cavium_ptp_put Jan Glauber
2018-02-12 19:39 ` David Miller [this message]

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=20180212.143904.1678683888588104316.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=aleksey.makarov@cavium.com \
    --cc=jglauber@cavium.com \
    --cc=netdev@vger.kernel.org \
    --cc=rad@semihalf.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;
as well as URLs for NNTP newsgroup(s).