diff options
author | Neale Ranns <neale@graphiant.com> | 2021-12-15 12:59:26 +0000 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2021-12-16 10:22:35 +0000 |
commit | 8df4baae1eac47c3a1c88bf7cdaedde95695a208 (patch) | |
tree | 4b2832f12ac0108ec7f8937bf87c3f5eab4929ea /src/plugins/cnat/cnat_node_feature.c | |
parent | 88019c40725704e6998625937c764d1d0c827975 (diff) |
api: Fix reaper functions for socket clients
Type: fix
The pub_sub_handler() stores registrations key'd with the message's client_index (which is in network-order).
The socket-client invokes the reaper function (to cleanup these registrations) using the pool index of the registration. hence the pub-sub registration is not removed.
change the socket-client to pass the network-order client_index.
This approach was chosen in preference to chaning the way the registrations are key'd since the memory-client also uses this registration, and correclty passes the client_index to the reaper.
Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: I6118555c8601149d05801f558e08bcc7aed4fc98
Diffstat (limited to 'src/plugins/cnat/cnat_node_feature.c')
0 files changed, 0 insertions, 0 deletions