net: Generate reuseport group ID on group creation
[linux-2.6-microblaze.git] / kernel / bpf / reuseport_array.c
index 50c083b..01badd3 100644 (file)
@@ -305,11 +305,6 @@ int bpf_fd_reuseport_array_update_elem(struct bpf_map *map, void *key,
        if (err)
                goto put_file_unlock;
 
-       /* Ensure reuse->reuseport_id is set */
-       err = reuseport_get_id(reuse);
-       if (err < 0)
-               goto put_file_unlock;
-
        WRITE_ONCE(nsk->sk_user_data, &array->ptrs[index]);
        rcu_assign_pointer(array->ptrs[index], nsk);
        free_osk = osk;