af_unix: Implement ->psock_update_sk_prot()
Now we can implement unix_bpf_update_proto() to update sk_prot, especially prot->close(). Signed-off-by:Cong Wang <cong.wang@bytedance.com> Signed-off-by:
Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20210704190252.11866-7-xiyou.wangcong@gmail.com
Showing
- MAINTAINERS 1 addition, 0 deletionsMAINTAINERS
- include/net/af_unix.h 10 additions, 0 deletionsinclude/net/af_unix.h
- net/core/sock_map.c 1 addition, 0 deletionsnet/core/sock_map.c
- net/unix/Makefile 1 addition, 0 deletionsnet/unix/Makefile
- net/unix/af_unix.c 5 additions, 1 deletionnet/unix/af_unix.c
- net/unix/unix_bpf.c 47 additions, 0 deletionsnet/unix/unix_bpf.c
Loading
Please register or sign in to comment