Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tipc: fix a potental access after delete in tipc_sk_join()
In commit d12d2e1 "tipc: send out join messages as soon as new member is discovered") we added a call to the function tipc_group_join() without considering the case that the preceding tipc_sk_publish() might have failed, and the group item already deleted. We fix this by returning from tipc_sk_join() directly after the failed tipc_sk_publish. Reported-by: [email protected] Signed-off-by: Jon Maloy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information