[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9c998b27-07c7-48e4-f3b7-a2f83d834dfa@gmail.com>
Date: Thu, 23 Apr 2020 21:23:07 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Cambda Zhu <cambda@...ux.alibaba.com>,
Eric Dumazet <eric.dumazet@...il.com>
Cc: netdev <netdev@...r.kernel.org>,
Dust Li <dust.li@...ux.alibaba.com>,
Tony Lu <tonylu@...ux.alibaba.com>
Subject: Re: [PATCH net-next v2] net: Add TCP_FORCE_LINGER2 to TCP setsockopt
On 4/23/20 7:56 PM, Cambda Zhu wrote:
>
> If the value between sysctl_tcp_fin_timeout and 2 minutes is legal, should we set tp->linger2
> to TCP_FIN_TIMEOUT_MAX or return an error instead of set it to zero which means the default value?
I would not send an error.
This might break some applications that could consider an error as a serious one.
(You can reuse my patch basically)
Powered by blists - more mailing lists