Skip to content

Commit e049523

Browse files
FedeDPpoiana
authored andcommitted
chore(driver): add comment with commit.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
1 parent 4508aaa commit e049523

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

driver/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1652,6 +1652,8 @@ static inline int drop_nostate_event(ppm_event_code event_type,
16521652
#elif (LINUX_VERSION_CODE < KERNEL_VERSION(6, 10, 0))
16531653
!fd_is_open(close_fd, fdt)
16541654
#else
1655+
// fd_is_open() was made file-local:
1656+
// https://github.com/torvalds/linux/commit/c4aab26253cd1f302279b8d6b5b66ccf1b120520
16551657
!test_bit(close_fd, fdt->open_fds)
16561658
#endif
16571659
) {

0 commit comments

Comments
 (0)