linux/drivers
Ziyang Xuan ecdc28defc net: hso: add failure handler for add_net_device
If the network devices connected to the system beyond
HSO_MAX_NET_DEVICES. add_net_device() in hso_create_net_device()
will be failed for the network_table is full. It will lead to
business failure which rely on network_table, for example,
hso_suspend() and hso_resume(). It will also lead to memory leak
because resource release process can not search the hso_device
object from network_table in hso_free_interface().

Add failure handler for add_net_device() in hso_create_net_device()
to solve the above problems.

Fixes: 72dc1c096c ("HSO: add option hso driver")
Signed-off-by: Ziyang Xuan <william.xuanziyang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-09-02 11:52:04 +01:00
..
accessibility
acpi Merge branches 'acpi-osl', 'acpi-power' and 'acpi-misc' 2021-08-30 20:03:28 +02:00
amba
android
ata for-5.15/libata-2021-08-30 2021-08-30 19:09:45 -07:00
atm
auxdisplay
base Device properties framework updates for 5.15-rc1 2021-08-31 13:36:01 -07:00
bcma bcma: Drop the unused parameter of bcma_scan_read32() 2021-08-29 14:44:57 +03:00
block for-5.15/drivers-2021-08-30 2021-08-30 19:01:46 -07:00
bluetooth
bus Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-08-26 17:57:57 -07:00
cdrom
char Core: 2021-08-31 16:43:06 -07:00
clk One hot fix for a NULL pointer deref in the Renesas usb clk driver 2021-08-29 12:52:17 -07:00
clocksource
comedi
connector
counter
cpufreq cpufreq: intel_pstate: Process HWP Guaranteed change notification 2021-08-25 20:09:37 +02:00
cpuidle
crypto crypto: ccp - Add support for new CCP/PSP device ID 2021-08-27 16:30:18 +08:00
cxl
dax
dca
devfreq
dio
dma
dma-buf
edac Updates to the interrupt core and driver subsystems: 2021-08-30 14:38:37 -07:00
eisa
extcon
firewire
firmware Merge branch 'stable/for-linus-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/ibft 2021-08-31 15:28:21 -07:00
fpga
fsi
gnss
gpio irqchip updates for Linux 5.15 2021-08-29 21:19:50 +02:00
gpu Updates to the interrupt core and driver subsystems: 2021-08-30 14:38:37 -07:00
greybus
hid
hsi
hv
hwmon hwmon: add driver for Aquacomputer D5 Next 2021-08-28 08:53:30 -07:00
hwspinlock
hwtracing
i2c Merge branch 'i2c/for-mergewindow' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2021-08-31 14:34:01 -07:00
i3c
idle
iio power supply and reset changes for the v5.15 series 2021-08-30 11:47:32 -07:00
infiniband Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-08-26 17:57:57 -07:00
input
interconnect
iommu s390 updates for 5.15 merge window 2021-08-30 13:07:15 -07:00
ipack
irqchip Merge branch irq/qcom-pdc-nowake-cleanup into irq/irqchip-next 2021-08-23 09:50:46 +01:00
isdn
leds
macintosh
mailbox
mcb
md - Add DM infrastructure for IMA-based remote attestion. These changes 2021-08-31 14:55:09 -07:00
media Core: 2021-08-31 16:43:06 -07:00
memory
memstick memstick: switch from 'pci_' to 'dma_' API 2021-08-24 16:59:39 +02:00
message
mfd
misc
mmc MMC core: 2021-08-31 14:31:10 -07:00
most
mtd
mux
net net: hso: add failure handler for add_net_device 2021-09-02 11:52:04 +01:00
nfc nfc: st95hf: remove unused header includes 2021-08-26 09:13:36 +01:00
ntb
nubus
nvdimm
nvme for-5.15/drivers-2021-08-30 2021-08-30 19:01:46 -07:00
nvmem
of
opp Merge branches 'pm-pci', 'pm-sleep', 'pm-domains' and 'powercap' 2021-08-30 19:25:42 +02:00
parisc
parport
pci Core: 2021-08-31 16:43:06 -07:00
pcmcia
perf
phy phy: marvell: phy-mvebu-a3700-comphy: Remove unsupported modes 2021-08-27 12:20:33 +01:00
pinctrl Updates to the interrupt core and driver subsystems: 2021-08-30 14:38:37 -07:00
platform
pnp
power power supply and reset changes for the v5.15 series 2021-08-30 11:47:32 -07:00
powercap powercap: Add Power Limit4 support for Alder Lake SoC 2021-08-25 20:12:16 +02:00
pps
ps3
ptp ptp: ocp: Simplify Kconfig. 2021-08-26 12:06:42 +01:00
pwm
rapidio
ras
regulator Merge remote-tracking branch 'regulator/for-5.14' into regulator-linus 2021-08-25 16:05:24 +01:00
remoteproc
reset reset: reset-zynqmp: Fixed the argument data type 2021-08-23 12:55:18 +02:00
rpmsg
rtc
s390 Core: 2021-08-31 16:43:06 -07:00
sbus
scsi Core: 2021-08-31 16:43:06 -07:00
sh
siox
slimbus
soc
soundwire
spi Merge remote-tracking branch 'spi/for-5.15' into spi-next 2021-08-26 15:09:52 +01:00
spmi
ssb
staging Core: 2021-08-31 16:43:06 -07:00
target
tc
tee
thermal thermal: intel: Allow processing of HWP interrupt 2021-08-25 20:09:37 +02:00
thunderbolt
tty Core: 2021-08-31 16:43:06 -07:00
uio
usb usb: gadget: u_audio: fix race condition on endpoint stop 2021-08-27 16:07:23 +02:00
vdpa
vfio
vhost sock: remove one redundant SKB_FRAG_PAGE_ORDER macro 2021-08-26 10:46:20 +01:00
video
virt
virtio virtio-mem: fix sleeping in RCU read side section in virtio_mem_online_page_cb() 2021-08-27 11:39:36 -07:00
visorbus
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile