Jakub Sitnicki wrote: > sock_map proto callbacks should never call themselves by design. Protect > against bugs like [1] and break out of the recursive loop to avoid a stack > overflow in favor of a resource leak. > > [1] https://lore.kernel.org/all/00000000000073b14905ef2e7401@xxxxxxxxxx/ > > Suggested-by: Eric Dumazet <edumazet@xxxxxxxxxx> > Signed-off-by: Jakub Sitnicki <jakub@xxxxxxxxxxxxxx> > --- LGTM and warn once logic should be fine IMO. Acked-by: John Fastabend <john.fastabend@xxxxxxxxx>