diff options
author | Cong Wang <cong.wang@bytedance.com> | 2021-07-04 12:02:48 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-07-15 18:17:50 -0700 |
commit | 9825d866ce0d11009513e06824885340062c166b (patch) | |
tree | b292e6c74103ad9864d772d76d7f74ddcb06ef81 /fs | |
parent | c63829182c37c2d6d0608976d15fa61ebebe9e6b (diff) | |
download | linux-next-9825d866ce0d11009513e06824885340062c166b.tar.gz |
af_unix: Implement unix_dgram_bpf_recvmsg()
We have to implement unix_dgram_bpf_recvmsg() to replace the
original ->recvmsg() to retrieve skmsg from ingress_msg.
AF_UNIX is again special here because the lack of
sk_prot->recvmsg(). I simply add a special case inside
unix_dgram_recvmsg() to call sk->sk_prot->recvmsg() directly.
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-8-xiyou.wangcong@gmail.com
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions