diff options
author | Johannes Berg <johannes.berg@intel.com> | 2022-10-30 19:17:45 +0200 |
---|---|---|
committer | Gregory Greenman <gregory.greenman@intel.com> | 2022-11-10 13:26:26 +0200 |
commit | d3df49dda431f7ae4132a9a0ac25a5134c04e812 (patch) | |
tree | 8dc1faec98235582d57ae619f832c2b0f6dd4559 /drivers/rtc/rtc-cadence.c | |
parent | d288067ede4b375e72daf7f9a98d937ede11a311 (diff) | |
download | linux-d3df49dda431f7ae4132a9a0ac25a5134c04e812.tar.bz2 |
wifi: iwlwifi: mei: fix potential NULL-ptr deref after clone
If cloning the SKB fails, don't try to use it, but rather return
as if we should pass it.
Coverity CID: 1503456
Fixes: 2da4366f9e2c ("iwlwifi: mei: add the driver to allow cooperation with CSME")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20221030191011.0ce03ba99601.I87960b7cb0a3d16b9fd8d9144027e7e2587f5a58@changeid
Diffstat (limited to 'drivers/rtc/rtc-cadence.c')
0 files changed, 0 insertions, 0 deletions