]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: change type of alive from int to bool
authorRichard Sailer <richard@weltraumpflege.org>
Fri, 9 Oct 2015 00:41:37 +0000 (02:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Oct 2015 12:15:03 +0000 (05:15 -0700)
commit5da1abf2fed2470c6538e4aa4967537c69eaed7a
tree11e352f49c080a32c05106dad1168ebb4ccc37f9
parentb1a592650b28ec5c929743cef051ab8e3cc01b2c
tcp: change type of alive from int to bool

The alive parameter of tcp_orphan_retries, indicates
whether the connection is assumed alive or not.
In the function and all places calling it is used as a boolean value.

Therefore this changes the type of alive to bool in the function
definition and all calling locations.

Since tcp_orphan_tries is a tcp_timer.c local function no change in
any other file or header is necessary.

Signed-off-by: Richard Sailer <richard@weltraumpflege.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_timer.c