From: Jon Maloy <[email protected]> Date: Wed, 17 Jan 2018 16:42:46 +0100
> Letting tipc_poll() dereference a socket's pointer to struct tipc_group > entails a race risk, as the group item may be deleted in a concurrent > tipc_sk_join() or tipc_sk_leave() thread. > > We now move the 'open' flag in struct tipc_group to struct tipc_sock, > and let the former retain only a pointer to the moved field. This will > eliminate the race risk. > > Reported-by: [email protected] > Signed-off-by: Jon Maloy <[email protected]> Applied, thanks Jon. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ tipc-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tipc-discussion
