af_xdp: remove the previous program before loading a new one 71/38971/2
authorArtem Glazychev <artem.glazychev@xored.com>
Mon, 5 Jun 2023 08:02:46 +0000 (15:02 +0700)
committerBeno�t Ganne <bganne@cisco.com>
Thu, 8 Jun 2023 09:15:09 +0000 (09:15 +0000)
commitf50929d370aa0216417f51f457770acdc2324c6c
tree03d87a9110f71719a715906b9802044c60b33ace
parent470d72f54abbd3e34053cc4f4e281593faf0fb77
af_xdp: remove the previous program before loading a new one

Otherwise, we will get an error. The program could remain from the previous run.

Type: fix

Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
Change-Id: I68e4072bd3b327592013804d67ccab7eb0ed3a0e
src/plugins/af_xdp/device.c