OpenFastPath / ofp

OpenFastPath project
BSD 3-Clause "New" or "Revised" License
349 stars 126 forks source link

udp: fix ofp_send/ofp_sendto return value on success #251

Closed bogdanPricope closed 4 years ago

bogdanPricope commented 4 years ago

On UDP side, remaining bytes to process were not updated.

bogdanPricope commented 4 years ago

Nope. Validation should be done against sent buffer size for UDP packets.

bogdanPricope commented 4 years ago

Note: if you want to check with dpdk pktio you need to wait for my next PR. You may use socket based pktio for this test.

MatiasElo commented 4 years ago

You could mention in the commit message that this commit fixes issue #250.

E.g. Fixes: url_to_issue