ip_frag: custom memmove
authorAnatoly Burakov <anatoly.burakov@intel.com>
Wed, 18 Jun 2014 14:50:33 +0000 (15:50 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 26 Jun 2014 20:51:30 +0000 (22:51 +0200)
commit4dc5d0ad3bb6c4d3b2fcba706d6fbed9ef744d70
treea3a998c2daf40866f9502425b630a8963bf8a714
parent2505824261f3e64ae357655c3545c46628f377fd
ip_frag: custom memmove

Some implementations of memmove may make a copy of src before writing to
dst. We avoid that by explicitly writing from src to dst backwards.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_ip_frag/rte_ipv6_reassembly.c