Merge branch 'for-4.14-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj...
[sfrench/cifs-2.6.git] / kernel / bpf / sockmap.c
index f6ffde9c6a68cac1472909205083eb3b9c23e8bc..6424ce0e49698abee1da6242a0a8494d8ba0f03f 100644 (file)
@@ -792,7 +792,7 @@ out_progs:
        return err;
 }
 
-int sock_map_attach_prog(struct bpf_map *map, struct bpf_prog *prog, u32 type)
+int sock_map_prog(struct bpf_map *map, struct bpf_prog *prog, u32 type)
 {
        struct bpf_stab *stab = container_of(map, struct bpf_stab, map);
        struct bpf_prog *orig;