Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 215f1f2d authored by Conner Huff's avatar Conner Huff
Browse files

drivers: rmnet: perf: Check if port is null on cb



If the driver callback is triggered without a valid device
then we have the potential to null ptr dereference a garbage
device when trying to get the device's port

Includes general cleanup of the register and deregister
code

Change-Id: I94a3ee7fdaff0a8f467a1f667e9a5bb3dddf032d
Signed-off-by: default avatarConner Huff <chuff@codeaurora.org>
parent f5c70f1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment