commit | 8c84296fd2867118944399ab7e9051515a70d60d | [log] [tgz] |
---|---|---|
author | Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de> | Wed May 14 17:43:07 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu May 15 15:51:42 2014 -0400 |
tree | c258f1be2848e07f75979202bce494acb610cfe0 | |
parent | c3a6114f31600b94ee10ebf62e4d493b401ade87 [diff] |
mac802154: account for all header parts during wpan header creationg The current WPAN header creation code checks for EMSGSIZE conditions, but does not account for the MIC field that link layer security may add at the end of the frame. Now that we can accurately calculate the maximum payload size of packets, use that to check for EMSGSIZE conditions. Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de> Signed-off-by: David S. Miller <davem@davemloft.net>