aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking/ieee802154.txt
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2015-05-25 15:38:24 +0300
committerMarcel Holtmann <marcel@holtmann.org>2015-05-26 18:07:39 +0200
commitc032705ebfed32a6dcda72d83c54f060d4bf1e6e (patch)
tree836f412c7365ddcf88851ace991b90b397bfecf8 /Documentation/networking/ieee802154.txt
parentmac802154: Avoid rtnl deadlock in mac802154_wpan_ioctl(). (diff)
downloadlinux-dev-c032705ebfed32a6dcda72d83c54f060d4bf1e6e.tar.xz
linux-dev-c032705ebfed32a6dcda72d83c54f060d4bf1e6e.zip
ieee802154 socket: Return EMSGSIZE from raw_sendmsg() if packet too big.
The proper return code for trying to send a packet that exceeds the outgoing interface's MTU is EMSGSIZE, not EINVAL, so patch ieee802154's raw_sendmsg() to do the right thing. (Its dgram_sendmsg() was already returning EMSGSIZE for this case.) Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Acked-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'Documentation/networking/ieee802154.txt')
0 files changed, 0 insertions, 0 deletions