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
..
2014-02-13 18:33:38 -05:00
2014-02-16 23:45:00 -05:00
2014-01-21 18:13:05 -08:00
2014-03-10 16:15:54 -04:00
2014-02-12 19:26:32 -05:00
2014-03-10 15:32:24 -04:00
2013-09-23 16:52:45 -04:00
2013-10-19 19:36:19 -04:00
2014-03-10 13:56:26 -04:00
2014-02-19 12:13:02 -08:00
2013-11-21 13:09:42 -05:00
2014-02-13 18:15:10 -05:00