-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug in fdbased when used with TAP/TUN fd.
TAP/TUN fd's are not sockets and using the WritePackets calls results in errors as it always defaults to using SendMMsg which is not supported for tap/tun device fds. This CL changes WritePackets to gracefully degrade to using writev instead of sendmmsg if the underlying fd is not a socket. Fixes #7125 RELNOTES[servinf]: n/a. Does not impact serverless as tun/tap is not used by sentry. PiperOrigin-RevId: 425992492
- Loading branch information
1 parent
1ebb4fd
commit 013ab76
Showing
2 changed files
with
45 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters