linux/include/net/caif
Pavel Skripkin a2805dca51 net: caif: add proper error handling
caif_enroll_dev() can fail in some cases. Ingnoring
these cases can lead to memory leak due to not assigning
link_support pointer to anywhere.

Fixes: 7c18d2205e ("caif: Restructure how link caif link layer enroll")
Cc: stable@vger.kernel.org
Signed-off-by: Pavel Skripkin <paskripkin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-03 15:05:06 -07:00
..
caif_dev.h net: caif: add proper error handling 2021-06-03 15:05:06 -07:00
caif_device.h
caif_hsi.h
caif_layer.h net: caif: drop duplicate words in comments 2020-07-15 20:34:11 -07:00
cfcnfg.h net: caif: add proper error handling 2021-06-03 15:05:06 -07:00
cfctrl.h
cffrml.h
cfmuxl.h
cfpkt.h
cfserl.h net: caif: added cfserl_release function 2021-06-03 15:05:06 -07:00
cfsrvl.h