]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: delete redundant calls of tcp_mtup_init()
authorPeter Pan(潘卫平) <panweiping3@gmail.com>
Sun, 19 Jan 2014 12:44:46 +0000 (20:44 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jan 2014 00:52:31 +0000 (16:52 -0800)
commit6065e1395e52b971a1dc96dece9011a236371824
tree1e2fd79836a09a54eca16dfb1872968f98034878
parent3645fdb16df455afe5503bc9bf85bfe45c1e88fd
tcp: delete redundant calls of tcp_mtup_init()

As tcp_rcv_state_process() has already calls tcp_mtup_init() for non-fastopen
sock, we can delete the redundant calls of tcp_mtup_init() in
tcp_{v4,v6}_syn_recv_sock().

Signed-off-by: Weiping Pan <panweiping3@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c