Jakub Sitnicki wrote: > SOCKMAP now supports storing references to listening sockets. Nothing keeps > us from using it as an array of sockets to select from in SK_REUSEPORT > programs. > > Whitelist the map type with the BPF helper for selecting socket. > > The restriction that the socket has to be a member of a reuseport group > still applies. Socket from a SOCKMAP that does not have sk_reuseport_cb set > is not a valid target and we signal it with -EINVAL. > > Signed-off-by: Jakub Sitnicki <jakub@xxxxxxxxxxxxxx> > --- Acked-by: John Fastabend <john.fastabend@xxxxxxxxx>