Revert "net/ieee802154: reject zero-sized raw_sendmsg()"
authorAlexander Aring <aahringo@redhat.com>
Wed, 5 Oct 2022 01:47:49 +0000 (21:47 -0400)
committerStefan Schmidt <stefan@datenfreihafen.org>
Wed, 5 Oct 2022 10:34:07 +0000 (12:34 +0200)
commit2eb2756f6c9e9621e022d78321ce40a62c4520b5
tree0112180d4ba1ffff3aeed8fa92074dcdde628018
parent0326074ff4652329f2a1a9c8685104576bd8d131
Revert "net/ieee802154: reject zero-sized raw_sendmsg()"

This reverts commit 3a4d061c699bd3eedc80dc97a4b2a2e1af83c6f5.

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

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20221005014750.3685555-1-aahringo@redhat.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
net/ieee802154/socket.c