linux/drivers/net/ethernet/aquantia/atlantic
Dmitry Bogdanov 5a292c89a8 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>
2020-02-16 19:03:40 -08:00
..
hw_atl net: atlantic: better loopback mode handling 2020-02-16 19:03:39 -08:00
Makefile net: atlantic: change email domains to Marvell 2019-11-07 19:54:43 -08:00
aq_cfg.h net: atlantic: update flow control logic 2019-11-07 19:54:43 -08:00
aq_common.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
aq_drvinfo.c net: aquantia: make all files GPL-2.0-only 2019-06-27 10:58:32 -07:00
aq_drvinfo.h net: aquantia: make all files GPL-2.0-only 2019-06-27 10:58:32 -07:00
aq_ethtool.c net: atlantic: better loopback mode handling 2020-02-16 19:03:39 -08:00
aq_ethtool.h net: atlantic: loopback tests via private flags 2019-11-07 19:54:43 -08:00
aq_filters.c net: atlantic: fix out of range usage of active_vlans array 2020-02-16 19:03:40 -08:00
aq_filters.h net: aquantia: make all files GPL-2.0-only 2019-06-27 10:58:32 -07:00
aq_hw.h net: atlantic: ptp gpio adjustments 2020-02-16 19:03:39 -08:00
aq_hw_utils.c net: atlantic: code style cleanup 2019-11-07 19:54:43 -08:00
aq_hw_utils.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
aq_main.c net: atlantic: code style cleanup 2019-11-07 19:54:43 -08:00
aq_main.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
aq_nic.c net: atlantic: fix potential error handling 2020-02-16 19:03:39 -08:00
aq_nic.h net: atlantic: update flow control logic 2019-11-07 19:54:43 -08:00
aq_pci_func.c net: atlantic: possible fault in transition to hibernation 2020-02-16 19:03:40 -08:00
aq_pci_func.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
aq_phy.c net: aquantia: add support for Phy access 2019-10-24 09:51:23 -07:00
aq_phy.h net: aquantia: add support for Phy access 2019-10-24 09:51:23 -07:00
aq_ptp.c net: atlantic: stylistic renames 2019-11-07 19:54:43 -08:00
aq_ptp.h net: aquantia: remove unused including <linux/version.h> 2019-10-29 16:18:10 -07:00
aq_ring.c net: atlantic: fix use after free kasan warn 2020-02-16 19:03:39 -08:00
aq_ring.h net: atlantic: checksum compat issue 2020-02-16 19:03:39 -08:00
aq_rss.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
aq_utils.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
aq_vec.c net: atlantic: Signedness bug in aq_vec_isr_legacy() 2019-11-13 14:29:28 -08:00
aq_vec.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
ver.h net: aquantia: replace internal driver version code with uts 2019-06-27 10:58:32 -07:00