Revision 6b517374f4ea5a3c6e307e1219ec5f35d42e6d00 authored by Vishal Kulkarni on 03 October 2019, 22:36:15 UTC, committed by David S. Miller on 04 October 2019, 21:42:13 UTC
When fetching free MSI-X vectors for ULDs, check for the error code
before accessing MSI-X info array. Otherwise, an out-of-bounds access is
attempted, which results in kernel panic.

Fixes: 94cdb8bb993a ("cxgb4: Add support for dynamic allocation of resources for ULD")
Signed-off-by: Shahjada Abul Husain <shahjada@chelsio.com>
Signed-off-by: Vishal Kulkarni <vishal@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 8ae72cb
History
File Mode Size
netfilter
Kconfig -rw-r--r-- 2.1 KB
Makefile -rw-r--r-- 824 bytes
br.c -rw-r--r-- 8.6 KB
br_arp_nd_proxy.c -rw-r--r-- 11.1 KB
br_device.c -rw-r--r-- 10.9 KB
br_fdb.c -rw-r--r-- 28.7 KB
br_forward.c -rw-r--r-- 7.3 KB
br_if.c -rw-r--r-- 16.9 KB
br_input.c -rw-r--r-- 9.0 KB
br_ioctl.c -rw-r--r-- 8.8 KB
br_mdb.c -rw-r--r-- 19.3 KB
br_multicast.c -rw-r--r-- 59.6 KB
br_netfilter_hooks.c -rw-r--r-- 30.8 KB
br_netfilter_ipv6.c -rw-r--r-- 5.6 KB
br_netlink.c -rw-r--r-- 47.1 KB
br_netlink_tunnel.c -rw-r--r-- 6.8 KB
br_nf_core.c -rw-r--r-- 2.0 KB
br_private.h -rw-r--r-- 35.3 KB
br_private_stp.h -rw-r--r-- 1.7 KB
br_private_tunnel.h -rw-r--r-- 2.1 KB
br_stp.c -rw-r--r-- 15.2 KB
br_stp_bpdu.c -rw-r--r-- 5.6 KB
br_stp_if.c -rw-r--r-- 8.3 KB
br_stp_timer.c -rw-r--r-- 4.2 KB
br_switchdev.c -rw-r--r-- 4.0 KB
br_sysfs_br.c -rw-r--r-- 26.7 KB
br_sysfs_if.c -rw-r--r-- 10.3 KB
br_vlan.c -rw-r--r-- 34.0 KB
br_vlan_tunnel.c -rw-r--r-- 4.4 KB

back to top