aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/net.c
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2019-03-23 23:21:03 +0000
committerDavid S. Miller <[email protected]>2019-03-26 18:25:29 +0000
commitc493b09b2792336f471d2206be180a4b4c1fc9ba (patch)
tree7259781362e5ebbe450ffdd305347fdeeea3b655 /net/tipc/net.c
parentnet: phy: bcm54xx: Encode link speed and activity into LEDs (diff)
downloadkernel-c493b09b2792336f471d2206be180a4b4c1fc9ba.tar.gz
kernel-c493b09b2792336f471d2206be180a4b4c1fc9ba.zip
net: devlink: skip info_get op call if it is not defined in dumpit
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]> Acked-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/net.c')
0 files changed, 0 insertions, 0 deletions