[5.10,0/1] i40e: Add checking for null for nlmsg_find_attr()

Message ID 20230126135555.11407-1-n.petrova@fintech.ru
Headers
Series i40e: Add checking for null for nlmsg_find_attr() |

Message

Natalia Petrova Jan. 26, 2023, 1:55 p.m. UTC
  The remark about the error code by Simon Horman <simon.horman@corigine.com> was taken into account.
Return value -ENOENT was changed to -EINVAL.

Found by Linux Verification Center (linuxtesting.org) with SVACE.