diff options
| author | Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> | 2019-11-13 21:51:19 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-11-14 01:28:30 +0300 |
| commit | 3128aad163d36d99247fc76b4efbbba2d5465cc4 (patch) | |
| tree | b3810c43b5f2450619555e48fd9cd64d9d296479 /tools/perf/scripts/python/sctop.py | |
| parent | 75a1ccfe6c726ba33a2f9859d39deb2eba620583 (diff) | |
| download | linux-3128aad163d36d99247fc76b4efbbba2d5465cc4.tar.xz | |
bnxt_en: Fix array overrun in bnxt_fill_l2_rewrite_fields().
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
