Skip to content

Commit

Permalink
fix: isGSOError
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyxdd committed Sep 21, 2023
1 parent 80ebd7e commit 4a032ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys_conn_helper_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func isGSOError(err error) bool {
// which is a hard requirement of UDP_SEGMENT. See:
// https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/man7/udp.7?id=806eabd74910447f21005160e90957bde4db0183#n228
// https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/ipv4/udp.c?h=v6.2&id=c9c3395d5e3dcc6daee66c6908354d47bf98cb0c#n942
return serr.Err == unix.EIO
return serr.Err == unix.EIO || serr.Err == unix.EINVAL
}
return false
}

0 comments on commit 4a032ae

Please sign in to comment.