diff options
author | Toke Høiland-Jørgensen <toke@redhat.com> | 2019-10-19 13:19:31 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-10-21 15:51:41 -0700 |
commit | ce197d83a9fc42795c248c90983bf05faf0f013b (patch) | |
tree | 2dc244c72f47b01bb6f524aed82ca9894e2cb8fe /net/unix/af_unix.c | |
parent | 05679ca6feebc1ef3bf743563315d9975adcf6fb (diff) |
xdp: Handle device unregister for devmap_hash map type
It seems I forgot to add handling of devmap_hash type maps to the device
unregister hook for devmaps. This omission causes devices to not be
properly released, which causes hangs.
Fix this by adding the missing handler.
Fixes: 6f9d451ab1a3 ("xdp: Add devmap_hash map type for looking up devices by hashed index")
Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20191019111931.2981954-1-toke@redhat.com
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions