[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1412770971.2295.40.camel@jtkirshe-mobl>
Date: Wed, 08 Oct 2014 05:22:51 -0700
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
To: Thierry Herbelot <thierry.herbelot@...nd.com>
Cc: Jesse Brandeburg <jesse.brandeburg@...el.com>,
Bruce Allan <bruce.w.allan@...el.com>, netdev@...r.kernel.org
Subject: Re: [PATCH net] ixgbe: check adapter->vfinfo before dereference
On Wed, 2014-10-08 at 14:05 +0200, Thierry Herbelot wrote:
> this protects against the following panic:
> (before a VF was actually created on p96p1 PF Ethernet port)
> ip link set p96p1 vf 0 spoofchk off
> BUG: unable to handle kernel NULL pointer dereference at
> 0000000000000052
> IP: [<ffffffffa044a1c1>] ixgbe_ndo_set_vf_spoofchk+0x51/0x150 [ixgbe]
>
> Signed-off-by: Thierry Herbelot <thierry.herbelot@...nd.com>
> ---
> drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 73
> +++++++++++++++++++++++-
> 1 file changed, 70 insertions(+), 3 deletions(-)
Thanks Thierry, I have added your patch to my queue.
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists