1
0
Fork 0
alistair23-linux/net/mac802154
Phoebe Buckheister d1d7358e9f ieee802154: add proper length checks to header creations
Have mac802154 header_ops.create fail with -EMSGSIZE if the length
passed will be too large to fit a frame. Since 6lowpan will ensure that
no packet payload will be too large, pass a length of 0 there. 802.15.4
dgram sockets will also return -EMSGSIZE on payloads larger than the
device MTU instead of -EINVAL.

Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-03-14 22:15:26 -04:00
..
Kconfig net/mac802154: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:40:01 -08:00
Makefile ieee802154: enforce consistent endianness in the 802.15.4 stack 2014-03-14 22:15:26 -04:00
ieee802154_dev.c ieee802154: enforce consistent endianness in the 802.15.4 stack 2014-03-14 22:15:26 -04:00
mac802154.h ieee802154: enforce consistent endianness in the 802.15.4 stack 2014-03-14 22:15:26 -04:00
mac_cmd.c ieee802154: use ieee802154_addr instead of *_sa variants 2014-03-14 22:15:26 -04:00
mib.c mac802154: use header operations to create/parse headers 2014-03-14 22:15:26 -04:00
monitor.c mac802154: monitor device support 2012-05-16 15:17:08 -04:00
rx.c net: remove unnecessary return's 2014-02-13 18:33:38 -05:00
tx.c mac802154: Keep track of the channel when changed 2013-04-08 12:09:18 -04:00
wpan.c ieee802154: add proper length checks to header creations 2014-03-14 22:15:26 -04:00