On 5/5/21 9:27 PM, Hoang Le wrote:
> When receiving a result from first query to netlink, we may exec
> a another query inside the callback. If calling this sub-routine
> in the same socket, it will be discarded the result from previous
> exection.
> To avoid this we perform a nested query in separate socket.
>
> Fixes: 202102830663 ("tipc: use the libmnl functions in lib/mnl_utils.c")
> Signed-off-by: Hoang Le <[email protected]>
> Acked-by: Jon Maloy <[email protected]>
> ---
> tipc/bearer.c | 50 +++++++++++++++++++++++++++++++++++++++++++++-----
> tipc/link.c | 15 +++++++++++++--
> tipc/socket.c | 17 +++++++++++++++--
> 3 files changed, 73 insertions(+), 9 deletions(-)
>
applied, thanks
_______________________________________________
tipc-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tipc-discussion