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-- | 508 bytes |
Makefile | -rw-r--r-- | 366 bytes |
netlabel_addrlist.c | -rw-r--r-- | 9.7 KB |
netlabel_addrlist.h | -rw-r--r-- | 5.5 KB |
netlabel_calipso.c | -rw-r--r-- | 19.0 KB |
netlabel_calipso.h | -rw-r--r-- | 3.9 KB |
netlabel_cipso_v4.c | -rw-r--r-- | 21.0 KB |
netlabel_cipso_v4.h | -rw-r--r-- | 4.1 KB |
netlabel_domainhash.c | -rw-r--r-- | 27.3 KB |
netlabel_domainhash.h | -rw-r--r-- | 3.1 KB |
netlabel_kapi.c | -rw-r--r-- | 37.3 KB |
netlabel_mgmt.c | -rw-r--r-- | 21.6 KB |
netlabel_mgmt.h | -rw-r--r-- | 6.0 KB |
netlabel_unlabeled.c | -rw-r--r-- | 41.6 KB |
netlabel_unlabeled.h | -rw-r--r-- | 6.3 KB |
netlabel_user.c | -rw-r--r-- | 2.6 KB |
netlabel_user.h | -rw-r--r-- | 1.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...