linux_dsm_epyc7002/drivers/net/wan
Wang Hai 52755b66dd cosa: Add missing kfree in error path of cosa_write
If memory allocation for 'kbuf' succeed, cosa_write() doesn't have a
corresponding kfree() in exception handling. Thus add kfree() for this
function implementation.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Acked-by: Jan "Yenya" Kasprzak <kas@fi.muni.cz>
Link: https://lore.kernel.org/r/20201110144614.43194-1-wanghai38@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-11-11 17:52:01 -08:00
..
lmc net: remove unneeded break 2020-10-20 10:28:21 -07:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
c101.c WAN: Replace HTTP links with HTTPS ones 2020-07-13 16:58:01 -07:00
cosa.c cosa: Add missing kfree in error path of cosa_write 2020-11-11 17:52:01 -08:00
cosa.h
dlci.c net: wan: dlci: Remove set but not used variable 'err' 2020-08-14 20:42:25 -07:00
farsync.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-08-05 20:13:21 -07:00
farsync.h WAN: Replace zero-length array with flexible-array member 2020-02-27 12:06:55 -08:00
fsl_ucc_hdlc.c net/wan/fsl_ucc_hdlc: Add MODULE_DESCRIPTION 2020-08-31 12:41:50 -07:00
fsl_ucc_hdlc.h net/wan/fsl_ucc_hdlc: avoid use of IS_ERR_VALUE() 2019-12-09 13:57:45 -06:00
hd64570.c
hd64570.h
hd64572.c
hd64572.h
hdlc_cisco.c drivers/net/wan/hdlc: Set skb->protocol before transmitting 2020-09-17 16:41:12 -07:00
hdlc_fr.c drivers/net/wan/hdlc_fr: Move the skb_headroom check out of fr_hard_header 2020-10-10 12:05:05 -07:00
hdlc_ppp.c drivers/net/wan/hdlc: Set skb->protocol before transmitting 2020-09-17 16:41:12 -07:00
hdlc_raw_eth.c net: hdlc_raw_eth: Clear the IFF_TX_SKB_SHARING flag after calling ether_setup 2020-10-21 17:58:26 -07:00
hdlc_raw.c
hdlc_x25.c drivers/net/wan/hdlc_x25: Added needed_headroom and a skb->len check 2020-08-14 20:41:08 -07:00
hdlc.c net: hdlc: In hdlc_rcv, check to make sure dev is an HDLC device 2020-10-21 17:20:19 -07:00
hostess_sv11.c
ixp4xx_hss.c wan: ixp4xx_hss: prepare compile testing 2020-01-12 12:59:52 -08:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
lapbether.c drivers/net/wan/lapbether: Make skb->protocol consistent with the header 2020-09-17 16:38:03 -07:00
Makefile net: wan: wanxl: refactor the firmware rebuild rule 2020-03-29 22:37:53 +09:00
n2.c WAN: Replace HTTP links with HTTPS ones 2020-07-13 16:58:01 -07:00
pc300too.c WAN: Replace HTTP links with HTTPS ones 2020-07-13 16:58:01 -07:00
pci200syn.c WAN: Replace HTTP links with HTTPS ones 2020-07-13 16:58:01 -07:00
sbni.c wan: sbni: Avoid comma separated statements 2020-08-25 07:54:19 -07:00
sbni.h
sdla.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
sealevel.c
slic_ds26522.c net: wan: slic_ds26522: Remove unused macro DRV_NAME 2020-08-31 12:40:42 -07:00
slic_ds26522.h
wanxl.c wan: wanxl: switch from 'pci_' to 'dma_' API 2020-08-04 16:17:00 -07:00
wanxl.h
wanxlfw.inc_shipped
wanxlfw.S
x25_asy.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-10-05 18:40:01 -07:00
x25_asy.h drivers/net/wan/x25_asy: Remove an unused flag "SLF_OUTWAIT" 2020-09-11 14:43:52 -07:00
z85230.c treewide: Remove uninitialized_var() usage 2020-07-16 12:35:15 -07:00
z85230.h Remove every trace of SERIAL_MAGIC 2019-11-13 19:01:14 +08:00