Compile RACK when options TCP_RACK, not TCP_BBR

Signed-off-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca>
Fixes: 3a338c5341 ("Add the BBR and RACK stacks to the LINT kernel.")
Pull Request:	https://github.com/freebsd/freebsd-src/pull/907
This commit is contained in:
Alex Xu (Hello71) 2023-11-20 19:09:56 -05:00 committed by Mitchell Horne
parent f903065018
commit 96f193b290

View file

@ -4364,7 +4364,7 @@ netinet/tcp_reass.c optional inet | inet6
netinet/tcp_sack.c optional inet | inet6
netinet/tcp_stacks/bbr.c optional inet tcp_bbr | inet6 tcp_bbr \
compile-with "${NORMAL_C} -DMODNAME=tcp_bbr -DSTACKNAME=bbr"
netinet/tcp_stacks/rack.c optional inet tcp_bbr | inet6 tcp_bbr \
netinet/tcp_stacks/rack.c optional inet tcp_rack | inet6 tcp_rack \
compile-with "${NORMAL_C} -DMODNAME=tcp_rack -DSTACKNAME=rack"
netinet/tcp_stacks/rack_bbr_common.c optional inet tcp_bbr | inet tcp_rack | inet6 tcp_bbr | inet6 tcp_rack
netinet/tcp_stacks/sack_filter.c optional inet tcp_bbr | inet tcp_rack | inet6 tcp_bbr | inet6 tcp_rack