diff options
author | 2021-07-04 12:02:46 -0700 | |
---|---|---|
committer | 2021-07-15 18:17:50 -0700 | |
commit | c7272e15f0f18d6e0f423b53207eac7a27ed5a49 (patch) | |
tree | 01eb32d0527511f6ec585b6f4bda65d7db24316b /kernel/bpf/devmap.c | |
parent | af_unix: Set TCP_ESTABLISHED for datagram sockets too (diff) | |
download | linux-dev-c7272e15f0f18d6e0f423b53207eac7a27ed5a49.tar.xz linux-dev-c7272e15f0f18d6e0f423b53207eac7a27ed5a49.zip |
af_unix: Add a dummy ->close() for sockmap
Unlike af_inet, unix_proto is very different, it does not even
have a ->close(). We have to add a dummy implementation to
satisfy sockmap. Normally it is just a nop, it is introduced only
for sockmap to replace it.
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-6-xiyou.wangcong@gmail.com
Diffstat (limited to 'kernel/bpf/devmap.c')
0 files changed, 0 insertions, 0 deletions