mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 17:58:41 +07:00
3c18aa1464
Currently dev is dereferenced by the call dev_net(dev) before dev is null
checked. Fix this by null checking dev before the potential null
pointer dereference.
Detected by CoverityScan, CID#1462955 ("Dereference before null check")
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
rmnet_config.c | ||
rmnet_config.h | ||
rmnet_handlers.c | ||
rmnet_handlers.h | ||
rmnet_map_command.c | ||
rmnet_map_data.c | ||
rmnet_map.h | ||
rmnet_private.h | ||
rmnet_vnd.c | ||
rmnet_vnd.h |