Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: lapb: Decrease the refcount of "struct lapb_cb" in lapb_device_e…
…vent In lapb_device_event, lapb_devtostruct is called to get a reference to an object of "struct lapb_cb". lapb_devtostruct increases the refcount of the object and returns a pointer to it. However, we didn't decrease the refcount after we finished using the pointer. This patch fixes this problem. Fixes: a4989fa ("net/lapb: support netdev events") Cc: Martin Schiller <[email protected]> Signed-off-by: Xie He <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
- Loading branch information