diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-04-07 00:15:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-08 14:16:59 +0300 |
commit | 1b808993e19447731e823b1313ee4e8da7fd92a0 (patch) | |
tree | 04f0b87fc0587d5dd25399ceb3487936138d06d1 /drivers/net | |
parent | 726e2c5929de841fdcef4e2bf995680688ae1b87 (diff) | |
download | linux-1b808993e19447731e823b1313ee4e8da7fd92a0.tar.xz |
flow_dissector: fix false-positive __read_overflow2_field() warning
Bounds checking is unhappy that we try to copy both Ethernet
addresses but pass pointer to the first one. Luckily destination
address is the first field so pass the pointer to the entire header,
whatever.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions