linux-stable/net/x25
Zheng Yongjun 1f61f0ee4a net/x25: Return the correct errno code
[ Upstream commit d773695866 ]

When kalloc or kmemdup failed, should return ENOMEM rather than ENOBUF.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-30 08:48:13 -04:00
..
af_x25.c net/x25: Return the correct errno code 2021-06-30 08:48:13 -04:00
Kconfig x25: remove blank lines at EOF 2018-07-24 14:10:42 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sysctl_net_x25.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
x25_dev.c net/x25: Fix x25_neigh refcnt leak when receiving frame 2020-04-29 16:31:21 +02:00
x25_facilities.c net: x25: mark expected switch fall-throughs 2017-10-22 03:08:46 +01:00
x25_forward.c
x25_in.c net: x25: mark expected switch fall-throughs 2017-10-22 03:08:46 +01:00
x25_link.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
x25_out.c
x25_proc.c proc: introduce proc_create_seq{,_data} 2018-05-16 07:23:35 +02:00
x25_route.c
x25_subr.c net/x25: Fix null-ptr-deref in x25_disconnect 2020-08-05 10:06:02 +02:00
x25_timer.c treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts 2017-11-21 16:35:54 -08:00