]> git.karo-electronics.de Git - linux-beck.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)
commit0980e56e506b1e45022fad00bca8c8a974fda4e6
tree3bd9c161e43b61b00af12547be3ebe168b32bf3e
parent186e868786f97c8026f0a81400b451ace306b3a4
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 be9f4a44e7d4 (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