socket API: Use pool index instead of handle in sock_delete handler 97/16697/2
authorOle Troan <ot@cisco.com>
Sat, 5 Jan 2019 10:27:54 +0000 (11:27 +0100)
committerFlorin Coras <florin.coras@gmail.com>
Sat, 5 Jan 2019 17:13:23 +0000 (17:13 +0000)
commit3c1cf2c1716f436e5da4a106dd2b9a3df5d3a4a3
tree8a97175a655ae4ca01e841a4af3b14e846ee5ebc
parent3c6f1045e23f920adf1dbac4e308c7bff4f59b7f
socket API: Use pool index instead of handle in sock_delete handler

The socket API used the socket index handle directly in the sock_delete handler,
resulting in "unknown client id" warnings, and a failure in return for socket clients.

Change-Id: Ia69f740ce0f834cd9b62b7157243a1f42bcad765
Signed-off-by: Ole Troan <ot@cisco.com>
src/vlibmemory/socket_api.c