diff options
| author | Jon Paul Maloy <[email protected]> | 2014-05-14 09:39:11 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-05-14 19:19:48 +0000 |
| commit | 5074ab89c555dd130ceeac129546670423d634b8 (patch) | |
| tree | b4f5a56a3c2e8eecfec5465491bb6f79f596ac77 /net/tipc/node.c | |
| parent | tipc: don't record link RESET or ACTIVATE messages as traffic (diff) | |
| download | kernel-5074ab89c555dd130ceeac129546670423d634b8.tar.gz kernel-5074ab89c555dd130ceeac129546670423d634b8.zip | |
tipc: mark head of reassembly buffer as non-linear
The message reassembly function does not update the 'len' and 'data_len'
fields of the head skbuff correctly when fragments are chained to it.
This may sometimes lead to obsure errors, such as fragment reordering
when we receive fragments which are cloned buffers.
This commit fixes this, by ensuring that the two fields are updated
correctly.
Suggested-by: Eric Dumazet <[email protected]>
Signed-off-by: Jon Maloy <[email protected]>
Reviewed-by: Ying Xue <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
