mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
When linktype is unknown or kzalloc failed in cfctrl_linkup_request(), pkt is not released. Add release process to error path. Fixes:b482cd2053("net-caif: add CAIF core protocol stack") Fixes:8d545c8f95("caif: Disconnect without waiting for response") Signed-off-by: Zhengchao Shao <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>