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
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 409 bytes |
Makefile | -rw-r--r-- | 143 bytes |
xdp_umem.c | -rw-r--r-- | 9.4 KB |
xdp_umem.h | -rw-r--r-- | 687 bytes |
xsk.c | -rw-r--r-- | 25.7 KB |
xsk.h | -rw-r--r-- | 461 bytes |
xsk_diag.c | -rw-r--r-- | 4.6 KB |
xsk_queue.c | -rw-r--r-- | 2.4 KB |
xsk_queue.h | -rw-r--r-- | 9.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...