diff options
author | Alexei Starovoitov <ast@kernel.org> | 2022-08-10 10:12:48 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-08-10 10:12:49 -0700 |
commit | e7c677bdd03d54e9a1bafcaf1faf5c573a506bba (patch) | |
tree | c52167a536ba9d17dff5c4762b881bfaafd49899 /drivers/net/can/spi/mcp251x.c | |
parent | 86f44fcec22ce2979507742bc53db8400e454f46 (diff) | |
parent | c5c0981fd81d35233d625631f13000544c108c53 (diff) | |
download | lwn-e7c677bdd03d54e9a1bafcaf1faf5c573a506bba.tar.gz lwn-e7c677bdd03d54e9a1bafcaf1faf5c573a506bba.zip |
Merge branch 'fixes for bpf map iterator'
Hou Tao says:
====================
From: Hou Tao <houtao1@huawei.com>
Hi,
The patchset constitues three fixes for bpf map iterator:
(1) patch 1~4: fix user-after-free during reading map iterator fd
It is possible when both the corresponding link fd and map fd are
closed bfore reading the iterator fd. I had squashed these four patches
into one, but it was not friendly for stable backport, so I break these
fixes into four single patches in the end. Patch 7 is its testing patch.
(2) patch 5: fix invalidity check for values in sk local storage map
Patch 8 adds two tests for it.
(3) patch 6: reject sleepable program for non-resched map iterator
Patch 9 add a test for it.
Please check the individual patches for more details. And comments are
always welcome.
Regards,
Tao
Changes since v2:
* patch 1~6: update commit messages (from Yonghong & Martin)
* patch 7: add more detailed comments (from Yonghong)
* patch 8: use NULL directly instead of (void *)0
v1: https://lore.kernel.org/bpf/20220806074019.2756957-1-houtao@huaweicloud.com
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'drivers/net/can/spi/mcp251x.c')
0 files changed, 0 insertions, 0 deletions