Commit 1df75154 authored by Alexander Aring's avatar Alexander Aring Committed by Jialin Zhang
Browse files

Revert "net/ieee802154: reject zero-sized raw_sendmsg()"

stable inclusion
from stable-v5.10.150
commit a96336a5f28b91eba4c5575e0434cbf02d8597fd
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6D0XA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a96336a5f28b91eba4c5575e0434cbf02d8597fd



--------------------------------

[ Upstream commit 2eb2756f ]

This reverts commit 3a4d061c.

There is a v2 which does return zero if zero length is given.

Signed-off-by: default avatarAlexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20221005014750.3685555-1-aahringo@redhat.com


Signed-off-by: default avatarStefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parent 93db290a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment