On Wed, Jan 22, 2020 at 02:05:46PM +0100, 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 BPF reuseport > programs. Whitelist the map type with the bpf_sk_select_reuseport helper. > > 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. Acked-by: Martin KaFai Lau <kafai@xxxxxx>