OSDN Git Service

Merge branch 'ieee802154-next'
authorDavid S. Miller <davem@davemloft.net>
Sat, 15 Mar 2014 02:15:35 +0000 (22:15 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Mar 2014 02:15:35 +0000 (22:15 -0400)
Phoebe Buckheister says:

====================
ieee802154: fix endianness and header handling

This patch set enforces network byte order on all internal operations and
fields of the 802.15.4 stack and adds a general representation of 802.15.4
headers with operations to create and parse those headers. This reduces code
duplication in the current stack and also allows for upper layers to read
headers of packets they have just received; it is also necessary for 802.15.4
link layer security, which requires header mangling.

Changes since v1:
 * fixed lowpan packet rx after reassembly. Control blocks were used to
   retrieve source/dest addresses, but the CB is clobbered by reassembly.
   Instead, parse the header anew in lowpan.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge