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 <hoang.h...@dektech.com.au> > Acked-by: Jon Maloy <jma...@redhat.com> > --- > 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 tipc-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tipc-discussion