commit | 5a292c89a84d49b598f8978f154bdda48b1072c0 | [log] [tgz] |
---|---|---|
author | Dmitry Bogdanov <dbogdanov@marvell.com> | Fri Feb 14 18:44:58 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 16 19:03:40 2020 -0800 |
tree | 1ab0828545ca75b84b8e331232d79d0c3629c933 | |
parent | 52a22f4d6ff95e8bdca557765c04893eb5dd83fd [diff] |
net: atlantic: fix out of range usage of active_vlans array fix static checker warning: drivers/net/ethernet/aquantia/atlantic/aq_filters.c:166 aq_check_approve_fvlan() error: passing untrusted data to 'test_bit()' Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Fixes: 7975d2aff5af: ("net: aquantia: add support of rx-vlan-filter offload") Signed-off-by: Dmitry Bogdanov <dbogdanov@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>