1
0
Fork 0
alistair23-linux/net/ieee802154
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
..
6lowpan_iphc.c 6lowpan: move 6lowpan header to include/net 2014-03-06 17:21:38 -05:00
6lowpan_rtnl.c ieee802154: add proper length checks to header creations 2014-03-14 22:15:26 -04:00
Kconfig ieee802154: fix whitespace issues in Kconfig 2014-03-04 20:12:44 -05:00
Makefile ieee802154: add header structs with endiannes and operations 2014-03-14 22:15:26 -04:00
af802154.h mac802154: use header operations to create/parse headers 2014-03-14 22:15:26 -04:00
af_ieee802154.c mac802154: use header operations to create/parse headers 2014-03-14 22:15:26 -04:00
dgram.c ieee802154: add proper length checks to header creations 2014-03-14 22:15:26 -04:00
header_ops.c ieee802154: add header structs with endiannes and operations 2014-03-14 22:15:26 -04:00
ieee802154.h ieee802154: add TX power control to wpan_phy 2014-02-17 16:42:38 -05:00
netlink.c ieee802154: add TX power control to wpan_phy 2014-02-17 16:42:38 -05:00
nl-mac.c ieee802154: use ieee802154_addr instead of *_sa variants 2014-03-14 22:15:26 -04:00
nl-phy.c ieee802154: fix faulty check in set_phy_params api 2014-02-18 18:11:05 -05:00
nl_policy.c ieee802154: add netlink APIs for smartMAC configuration 2014-02-17 16:42:39 -05:00
raw.c mac802154: use header operations to create/parse headers 2014-03-14 22:15:26 -04:00
reassembly.c 6lowpan: move lowpan frag_info out of 802.15.4 headers 2014-03-14 22:15:26 -04:00
reassembly.h ieee802154: use ieee802154_addr instead of *_sa variants 2014-03-14 22:15:26 -04:00
wpan-class.c ieee802154: add netlink APIs for smartMAC configuration 2014-02-17 16:42:39 -05:00