tcp_input: Partly revert 98cb2337e1000153d84b64a5e9aabbecda8e8dbf