aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorJiong Wang <[email protected]>2018-06-26 19:48:52 -0700
committerDaniel Borkmann <[email protected]>2018-06-27 10:57:15 +0200
commitcc0dff6dc3b44e33cd6b935893db66563ef15ba0 (patch)
tree86c9772fd43babab2377bbb7f66f486f7e4656f3 /lib/test_overflow.c
parentb1a5046b2497e39cea9eb585358f3749442fb3f7 (diff)
nfp: bpf: allow source ptr type be map ptr in memcpy optimization
Map read has been supported on NFP, this patch enables optimization for memcpy from map to packet. This patch also fixed one latent bug which will cause copying from unexpected address once memcpy for map pointer enabled. The fixed code path was not exercised before. Reported-by: Mary Pham <[email protected]> Reported-by: David Beckett <[email protected]> Signed-off-by: Jiong Wang <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Acked-by: Song Liu <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions