aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/netmap/netmap_generic.c
diff options
context:
space:
mode:
authorChuck Silvers <chs@FreeBSD.org>2021-02-02 00:21:14 +0000
committerEd Maste <emaste@FreeBSD.org>2022-01-10 14:51:54 +0000
commit60cacd2e41e17aeaf7dcbdfe4057028a5b8b9d1a (patch)
tree85ca2c2dee7d9cafb509e185f7ae7f2be93ad1a0 /sys/dev/netmap/netmap_generic.c
parentdfca965af4e11523467f168f36dd0236260e5080 (diff)
tail: fix "tail -F" file rotation detection
When checking if the newly opened file is the same as the old one, we need to fstat() the new file descriptor, not the old one again. Reviewed by: glebius Sponsored by: Netflix (cherry picked from commit 7787e7eed9d2a43fb6eb66666040f1b495995a2f) (cherry picked from commit 8c59e863e2c03c3b4ab2c403243561a4cc4fcb10) Approved by: so Errata: FreeBSD-EN-22:05.tail
Diffstat (limited to 'sys/dev/netmap/netmap_generic.c')
0 files changed, 0 insertions, 0 deletions