]> 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)
commit95466a2d314f72db602f8a2d5c12f6a2dff644e1
tree3bd9c161e43b61b00af12547be3ebe168b32bf3e
parent461016672ea471392082953dc50d7e20d26f2b25
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 79f76c5ee9e4 (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