[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191113.143346.1023883959757211854.davem@davemloft.net>
Date: Wed, 13 Nov 2019 14:33:46 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: michael.chan@...adcom.com
Cc: netdev@...r.kernel.org, olof@...om.net,
venkatkumar.duvvuru@...adcom.com
Subject: Re: [PATCH net-next] bnxt_en: Fix array overrun in
bnxt_fill_l2_rewrite_fields().
From: Michael Chan <michael.chan@...adcom.com>
Date: Wed, 13 Nov 2019 13:51:19 -0500
> From: Venkat Duvvuru <venkatkumar.duvvuru@...adcom.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@...om.net>
> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@...adcom.com>
> Signed-off-by: Michael Chan <michael.chan@...adcom.com>
Applied.
Powered by blists - more mailing lists