diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-11-14 07:49:39 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-11-14 07:50:12 +0300 |
commit | 4b3812d90b2c93723adf4b6ce99240d301f7d5f9 (patch) | |
tree | 44f7f5d260db4d8c056937894435c415322f75e9 /mm/damon | |
parent | c0a2a1b0d631fc460d830f52d06211838874d655 (diff) | |
download | linux-4b3812d90b2c93723adf4b6ce99240d301f7d5f9.tar.xz |
Revert "ptp: Fixes a null pointer dereference in ptp_ioctl"
This reverts commit 8a4f030dbced6fc255cbe67b2d0a129947e18493.
Richard says:
The test itself is harmless, but keeping it will make people think,
"oh this pointer can be invalid."
In fact the core stack ensures that ioctl() can't be invoked after
release(), otherwise Bad Stuff happens.
Fixes: 8a4f030dbced ("ptp: Fixes a null pointer dereference in ptp_ioctl")
Link: https://lore.kernel.org/all/ZVAf_qdRfDAQYUt-@hoboy.vegasvil.org/
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'mm/damon')
0 files changed, 0 insertions, 0 deletions