Forge VNET variable pointers as single objects, bound to_sacks in
struct tcpopt by its length, and declare two tcp_reass() locals
__single. No change without the flag.
Sponsored by: The FreeBSD Foundation
Differential D60830
tcp: build tcp_sack.c and tcp_reass.c under bounds-safety Authored by abhijeetsharma2002_gmail.com on Sun, Oct 18, 1:45 AM.
Details
Diff Detail
Event TimelineComment Actions Yes, they're all needed for tcp_sack.c and tcp_reass.c to build with -fbounds-safety, and dropping any one of them breaks it. The vnet.h change is for the atomic ops on V_tcp_sack_globalholes in tcp_sack.c, and tcp_var.h bounds to_sacks for the SACK loop.
| ||||||||||||||