netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: michael.chan@broadcom.com
Cc: netdev@vger.kernel.org, olof@lixom.net, venkatkumar.duvvuru@broadcom.com
Subject: Re: [PATCH net-next] bnxt_en: Fix array overrun in bnxt_fill_l2_rewrite_fields().
Date: Wed, 13 Nov 2019 14:33:46 -0800 (PST)	[thread overview]
Message-ID: <20191113.143346.1023883959757211854.davem@davemloft.net> (raw)
In-Reply-To: <1573671079-27248-1-git-send-email-michael.chan@broadcom.com>

From: Michael Chan <michael.chan@broadcom.com>
Date: Wed, 13 Nov 2019 13:51:19 -0500

> From: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
> 
> Fix the array overrun while keeping the eth_addr and eth_addr_mask
> pointers as u16 to avoid unaligned u16 access.  These were overlooked
> when modifying the code to use u16 pointer for proper alignment.
> 
> Fixes: 90f906243bf6 ("bnxt_en: Add support for L2 rewrite")
> Reported-by: Olof Johansson <olof@lixom.net>
> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
> Signed-off-by: Michael Chan <michael.chan@broadcom.com>

Applied.

      reply	other threads:[~2019-11-13 22:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-13 18:51 [PATCH net-next] bnxt_en: Fix array overrun in bnxt_fill_l2_rewrite_fields() Michael Chan
2019-11-13 22:33 ` 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=20191113.143346.1023883959757211854.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=michael.chan@broadcom.com \
    --cc=netdev@vger.kernel.org \
    --cc=olof@lixom.net \
    --cc=venkatkumar.duvvuru@broadcom.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).