Simplify the code to clamp the TCP send and recv buffer to 64k.
authorclaudio <claudio@openbsd.org>
Thu, 16 May 2024 09:38:21 +0000 (09:38 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 16 May 2024 09:38:21 +0000 (09:38 +0000)
commit4a323eb5ee18d181983a6d5081f961706e42cb76
tree561928d97406c7058a049e726a585d1fccfd1761
parent52ac02e4d7f3dc6035fb429a557276c9f267439a
Simplify the code to clamp the TCP send and recv buffer to 64k.

We don't really care if it works or not and we don't want to clamp it
down further then 64k. So just call setsockopt() once and ignore the error.
OK tb@ sthen@
usr.sbin/bgpd/session.c