commit | 41af8b3a097c6fd17a4867efa25966927094f57c | [log] [tgz] |
---|---|---|
author | Kangjie Lu <kjlu@umn.edu> | Mon Mar 11 01:01:41 2019 -0500 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 11 12:29:17 2019 -0700 |
tree | 07c6516a7ffb0278eef8bc6d40bac6eab72eb028 | |
parent | dd9d9f5907bb475f8b1796c47d4ecc7fb9b72136 [diff] |
net: lio_core: fix two NULL pointer dereferences In case octeon_alloc_soft_command fails, the fix reports the error and returns to avoid NULL pointer dereferences. Signed-off-by: Kangjie Lu <kjlu@umn.edu> Signed-off-by: David S. Miller <davem@davemloft.net>