Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / kernel / bpf / cpumap.c
index 620bc50..24aac0d 100644 (file)
@@ -479,6 +479,8 @@ static void cpu_map_free(struct bpf_map *map)
         * It does __not__ ensure pending flush operations (if any) are
         * complete.
         */
+
+       bpf_clear_redirect_map(map);
        synchronize_rcu();
 
        /* To ensure all pending flush operations have completed wait for flush