diff options
author | Patrick McHardy <kaber@trash.net> | 2006-09-18 10:59:57 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-09-18 10:59:57 +0400 |
commit | cbe21d8fefca605b90e34f0f019505e599712f9b (patch) | |
tree | b30a61468e18c04c91549231d4ca3b2cb67cb52b /crypto/tcrypt.c | |
parent | 080f22c0dc544e498e57ad281a9de063fa839957 (diff) | |
download | linux-cbe21d8fefca605b90e34f0f019505e599712f9b.tar.xz |
[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 'crypto/tcrypt.c')
0 files changed, 0 insertions, 0 deletions