rdma: fix bug related to ring buffer 33/25233/2
authorElias Rudberg <elias.rudberg@bahnhof.net>
Tue, 18 Feb 2020 11:12:25 +0000 (12:12 +0100)
committerDave Barach <openvpp@barachs.net>
Tue, 18 Feb 2020 13:26:10 +0000 (13:26 +0000)
commite5ecf3ea4b456afb710f4ed903cd7e4c1ae87859
tree69c46548978a166578683057bd26a65a83acf038
parent3b8518164a51ae984b899c444f54637b490dc2e5
rdma: fix bug related to ring buffer

Fix a bug that caused some input packets to be dropped due to errors of
the type 'ip4 length > l2 length'. The change is related to the second
call to the rdma_device_input_bufs() function that happens when the end
of the ring buffer is reached.

Type: fix
Change-Id: I332d69ab22242b3443a0baca6e5dd86349a54765
Signed-off-by: Elias Rudberg <elias.rudberg@bahnhof.net>
src/plugins/rdma/input.c