diff options
author | Patrick McHardy <kaber@trash.net> | 2006-09-18 08:59:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-09-18 08:59:57 +0200 |
commit | cbe21d8fefca605b90e34f0f019505e599712f9b (patch) | |
tree | b30a61468e18c04c91549231d4ca3b2cb67cb52b /fs | |
parent | [NET]: Mark frame diverter for future removal. (diff) | |
download | linux-cbe21d8fefca605b90e34f0f019505e599712f9b.tar.xz linux-cbe21d8fefca605b90e34f0f019505e599712f9b.zip |
[PACKET]: Don't truncate non-linear skbs with mmaped IO
Non-linear skbs are truncated to their linear part with mmaped IO.
Fix by using skb_copy_bits instead of memcpy.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions