linux-stable/include
Alexander Aring 0ad680a71e net: ieee802154: return -EINVAL for unknown addr type
commit 30393181fd upstream.

This patch adds handling to return -EINVAL for an unknown addr type. The
current behaviour is to return 0 as successful but the size of an
unknown addr type is not defined and should return an error like -EINVAL.

Fixes: 94160108a7 ("net/ieee802154: fix uninit value bug in dgram_sendmsg")
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-10-24 09:58:30 +02:00
..
acpi ACPI: CPPC: Do not prevent CPPC from working in the future 2022-08-17 15:16:13 +02:00
asm-generic vmlinux.lds.h: CFI: Reduce alignment of jump-table to function alignment 2022-09-28 11:32:08 +02:00
clocksource
crypto crypto: blake2s - remove shash module 2022-08-17 15:16:07 +02:00
drm Revert "devcoredump: remove the useless gfp_t parameter in dev_coredumpv and dev_coredumpm" 2022-08-17 15:16:19 +02:00
dt-bindings dt-bindings: clock: exynosautov9: correct clock numbering of peric0/c1 2022-10-24 09:57:25 +02:00
keys certs: Move load_certificate_list() to be with the asymmetric keys code 2022-06-21 16:05:06 +01:00
kunit kunit: fix assert_type for comparison macros 2022-09-15 10:47:15 +02:00
kvm
linux scsi: tracing: Fix compile error in trace_array calls when TRACING is disabled 2022-10-24 09:58:27 +02:00
math-emu
media media: uapi: HEVC: Change pic_order_cnt definition in v4l2_hevc_dpb_entry 2022-08-17 15:14:50 +02:00
memory
misc
net net: ieee802154: return -EINVAL for unknown addr type 2022-10-24 09:58:30 +02:00
pcmcia
ras
rdma
scsi scsi: iscsi: Add recv workqueue helpers 2022-10-24 09:57:58 +02:00
soc ARM: at91: pm: fix DDR recalibration when resuming from backup and self-refresh 2022-09-15 10:47:14 +02:00
sound ALSA: control: Use deferred fasync helper 2022-08-25 11:45:52 +02:00
target
trace tracing: Use a copy of the va_list for __assign_vstr() 2022-08-17 15:16:20 +02:00
uapi RDMA/mlx5: Don't compare mkey tags in DEVX indirect mkey 2022-10-24 09:57:47 +02:00
ufs scsi: ufs: core: Enable link lost interrupt 2022-08-31 17:18:20 +02:00
vdso
video video: of_display_timing.h: include errno.h 2022-07-06 17:16:20 +02:00
xen xen: don't require virtio with grants for non-PV guests 2022-08-17 15:15:41 +02:00