]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: tcp: set unicast_sock uc_ttl to -1
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 20 Jul 2012 22:28:51 +0000 (22:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jul 2012 19:06:21 +0000 (12:06 -0700)
commitb944e550d92aca1622132311bf559e7f8049ee88
tree3bd9c161e43b61b00af12547be3ebe168b32bf3e
parent0574ec42a64481d903ab6c497868fced2c30ded2
ipv4: tcp: set unicast_sock uc_ttl to -1

Set unicast_sock uc_ttl to -1 so that we select the right ttl,
instead of sending packets with a 0 ttl.

Bug added in commit a3f95ab38513 (ipv4: tcp: remove per net tcp_sock)

Signed-off-by: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c