summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authoralex.bluesman.smirnov@gmail.com <alex.bluesman.smirnov@gmail.com>2012-07-10 21:22:47 +0000
committerDavid S. Miller <davem@davemloft.net>2012-07-12 07:54:45 -0700
commitabbee2effcbce55440accb0a1dd315562875efa2 (patch)
treebde2b4f68318aa1624757e10a548d3f33518bc46 /usr
parent428840424fc54dd2d3f67d3de8b78bb71a479537 (diff)
downloadblackbird-op-linux-abbee2effcbce55440accb0a1dd315562875efa2.tar.gz
blackbird-op-linux-abbee2effcbce55440accb0a1dd315562875efa2.zip
6lowpan: fix tag variable size
Function lowpan_alloc_new_frame() takes u8 tag as an argument. However, its only caller, lowpan_process_data() passes down a u16. Hence, the tag value can get corrupted. This prevent 6lowpan fragment reassembly of a message when the fragment tag value is over 256. Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com> Cc: Tony Cheneau <tony.cheneau@amnesiak.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud