Skip to content
Commit 4b3812d9 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

Revert "ptp: Fixes a null pointer dereference in ptp_ioctl"

This reverts commit 8a4f030d.

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: 8a4f030d

 ("ptp: Fixes a null pointer dereference in ptp_ioctl")
Link: https://lore.kernel.org/all/ZVAf_qdRfDAQYUt-@hoboy.vegasvil.org/
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent c0a2a1b0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment