@@ -2660,11 +2660,11 @@ static void get_tcp4_sock(struct sock *sk, struct seq_file *f, int i, int *len)
int rx_queue;
if (icsk->icsk_pending == ICSK_TIME_RETRANS) {
- timer_active = 1;
- timer_expires = icsk->icsk_timeout;
+ timer_active = 1;
+ timer_expires = icsk->icsk_timeout;
} else if (icsk->icsk_pending == ICSK_TIME_PROBE0) {
- timer_active = 4;
- timer_expires = icsk->icsk_timeout;
+ timer_active = 4;
+ timer_expires = icsk->icsk_timeout;
} else if (timer_pending(&sk->sk_timer)) {
if (sk->sk_state == TCP_FIN_WAIT2 && sock_flag(sk, SOCK_DEAD)) {
timer_active = 3;
@@ -2676,8 +2676,8 @@ static void get_tcp4_sock(struct sock *sk, struct seq_file *f, int i, int *len)
timer_expires = sk->sk_timer.expires;
}
} else {
- timer_active = 0;
- timer_expires = jiffies;
+ timer_active = 0;
+ timer_expires = jiffies;
}
if (sk->sk_state == TCP_LISTEN)
@@ -1805,11 +1805,11 @@ static void get_tcp6_sock(struct seq_file *seq, struct sock *sp, int i)
srcp = ntohs(inet->inet_sport);
if (icsk->icsk_pending == ICSK_TIME_RETRANS) {
- timer_active = 1;
- timer_expires = icsk->icsk_timeout;
+ timer_active = 1;
+ timer_expires = icsk->icsk_timeout;
} else if (icsk->icsk_pending == ICSK_TIME_PROBE0) {
- timer_active = 4;
- timer_expires = icsk->icsk_timeout;
+ timer_active = 4;
+ timer_expires = icsk->icsk_timeout;
} else if (timer_pending(&sp->sk_timer)) {
if (sp->sk_state == TCP_FIN_WAIT2 && sock_flag(sp, SOCK_DEAD)) {
timer_active = 3;
@@ -1821,8 +1821,8 @@ static void get_tcp6_sock(struct seq_file *seq, struct sock *sp, int i)
timer_expires = sp->sk_timer.expires;
}
} else {
- timer_active = 0;
- timer_expires = jiffies;
+ timer_active = 0;
+ timer_expires = jiffies;
}
seq_printf(seq,
Fix the indentation in get_tcp4_sock and get_tcp6_sock. Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> --- net/ipv4/tcp_ipv4.c | 12 ++++++------ net/ipv6/tcp_ipv6.c | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-)