diff options
author | 2006-09-17 23:59:57 -0700 | |
---|---|---|
committer | 2006-09-17 23:59:57 -0700 | |
commit | cbe21d8fefca605b90e34f0f019505e599712f9b (patch) | |
tree | b30a61468e18c04c91549231d4ca3b2cb67cb52b /crypto/algapi.c | |
parent | [NET]: Mark frame diverter for future removal. (diff) | |
download | linux-rng-cbe21d8fefca605b90e34f0f019505e599712f9b.tar.xz linux-rng-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 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions