[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140114.164105.524133214769947013.davem@davemloft.net>
Date: Tue, 14 Jan 2014 16:41:05 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: panweiping3@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net 0/2] tcp: delete redundant calls of tcp_mtup_init()
and
From: Weiping Pan <panweiping3@...il.com>
Date: Sun, 12 Jan 2014 15:54:29 +0800
> I find that both tcp_v4_syn_recv_sock() and tcp_v6_syn_recv_sock() call them
> for new sock, so delete redundant calls of them.
>
> Weiping Pan (2):
> tcp: delete redundant calls of tcp_mtup_init()
> tcp: delete redundant call of tcp_initialize_rcv_mss()
I do not agree with the approach of these two patches.
It is better to have tcp_rcv_state_process() (one location) make these
calls rather than each and every inet sock operations instance.
Therefore you should remove the calls from tcp_v{4,6}_recv_sock() and
keep the one in tcp_rcv_state_process().
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists