Skip to content

Commit

Permalink
chore(driver): add comment with commit.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP authored and poiana committed Jul 10, 2024
1 parent fac8710 commit fa26daf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions driver/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1652,6 +1652,8 @@ static inline int drop_nostate_event(ppm_event_code event_type,
#elif (LINUX_VERSION_CODE < KERNEL_VERSION(6, 10, 0))
!fd_is_open(close_fd, fdt)
#else
// fd_is_open() was made file-local:
// https://github.com/torvalds/linux/commit/c4aab26253cd1f302279b8d6b5b66ccf1b120520
!test_bit(close_fd, fdt->open_fds)
#endif
) {
Expand Down

0 comments on commit fa26daf

Please sign in to comment.