commit | cbe21d8fefca605b90e34f0f019505e599712f9b | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Sun Sep 17 23:59:57 2006 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 17 23:59:57 2006 -0700 |
tree | b30a61468e18c04c91549231d4ca3b2cb67cb52b | |
parent | 080f22c0dc544e498e57ad281a9de063fa839957 [diff] |
[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>