This series of patches cleans up handling of 802.15.4 headers in ieee802154 and mac802154. Particularly, it introduces new functions to read and modify headers and removes the address fields in the skb cb block in favour of these functions. This set also fixes a bug that caused parts of an 802.15.4 header to be delivered to dgram sockets in userspace due to misparsed headers, and moves mac frame sequence number generation from upper layers into the netdev that actually handles them. -- Changes since v1: * Tested-by: Alexander Aring <alex.aring@xxxxxxxxx> * trivial checkpatch issues. The "/*\n" in a copyright header was kept for consistency, some macro definition lines over 80 characters for readability Phoebe Buckheister (4): ieee802154: add generic header handling routines mac802154: use new header ops in wpan devices ieee802154: remove addresses from mac_cb ieee802154: remove seq member of mac_cb include/net/ieee802154.h | 15 ++ include/net/ieee802154_netdev.h | 52 +++++- include/net/mac802154.h | 1 + net/ieee802154/6lowpan_rtnl.c | 13 +- net/ieee802154/Makefile | 3 +- net/ieee802154/dgram.c | 6 +- net/ieee802154/header_ops.c | 327 +++++++++++++++++++++++++++++++++++++ net/ieee802154/reassembly.c | 5 +- net/mac802154/wpan.c | 343 +++++++++++---------------------------- 9 files changed, 494 insertions(+), 271 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html