diff options
| author | Alexander Aring <[email protected]> | 2015-09-02 14:21:26 +0200 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2015-09-17 13:20:03 +0200 |
| commit | faf7d36e5ecd16ab090c82d14bff31f7ab2f70e6 (patch) | |
| tree | 8599aabdec9d74a3815b247cf2a2d0eb58c45826 /tools/perf/scripts/python | |
| parent | 72a5e6bb5120d6464c9e7855c5a22555ede819dc (diff) | |
ieee802154: 6lowpan: add generic lowpan header check
This patch introduce an earlier check if a 6LoWPAN frame can be valid.
This contains at first for checking if the header contains a dispatch
byte and isn't the nalp dispatch value, which means it isn't a 6LoWPAN
packet. Also we add a check if we can derference the dispatch value by
checking if skb->len is unequal zero.
Reviewed-by: Stefan Schmidt <[email protected]>
Signed-off-by: Alexander Aring <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions