Initialize sin6_scope_id to zero
sin6_scope_id is not explicitly set to zero in tcp_input() which should be OK for global IPv6 addresses, but seems to fail on Mac OS: if sin6_scope_id ends up with a value other than zero for global addresses, connect() will fail with "No route to host". Tested on Mac OS v11.5.2 but might be an issue on other versions as well.
Signed-off-by: Saar Gross saar@fb.com Signed-off-by: Mohan Kumar Kumar mohankm@fb.com