Andrew Rybchenko 6e18704b7e ethdev: avoid undefined behaviour on configuration copy
memcpy() source and destination areas must not overlap and equal
pointers is the case which is really met, so handle it.

Fixes: 68b931bff287 ("ethdev: eliminate interim variable")
Cc: stable@dpdk.org

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-11-20 17:36:06 +01:00
..
2019-07-05 15:28:14 +02:00
2019-07-19 00:48:43 +02:00
2019-11-19 22:03:38 +01:00
2019-11-19 22:03:38 +01:00
2019-11-06 00:09:48 +01:00
2019-10-25 18:07:37 +02:00
2019-10-27 22:03:06 +01:00
2019-07-04 23:44:58 +02:00
2019-11-19 22:03:27 +01:00