On Sun, 24 Mar 2019 00:21:03 +0100, Jiri Pirko wrote:
> From: Jiri Pirko <[email protected]>
> 
> In dumpit, unlike doit, the check for info_get op being defined
> is missing. Add it and avoid null pointer dereference in case driver
> does not define this op.
> 
> Fixes: f9cf22882c60 ("devlink: add device information API")
> Reported-by: Ido Schimmel <[email protected]>
> Signed-off-by: Jiri Pirko <[email protected]>

Ugh, looks like the check got lost in v2 somehow.

Acked-by: Jakub Kicinski <[email protected]>

Thanks/sorry!

Reply via email to