ipv6: Fix inet6_csk_bind_conflict()
[safe/jmp/linux-2.6] / net / ipv4 / tcp_lp.c
index e7f5ef9..de87037 100644 (file)
@@ -115,12 +115,12 @@ static void tcp_lp_init(struct sock *sk)
  * Will only call newReno CA when away from inference.
  * From TCP-LP's paper, this will be handled in additive increasement.
  */
-static void tcp_lp_cong_avoid(struct sock *sk, u32 ack, u32 in_flight, int flag)
+static void tcp_lp_cong_avoid(struct sock *sk, u32 ack, u32 in_flight)
 {
        struct lp *lp = inet_csk_ca(sk);
 
        if (!(lp->flag & LP_WITHIN_INF))
-               tcp_reno_cong_avoid(sk, ack, in_flight, flag);
+               tcp_reno_cong_avoid(sk, ack, in_flight);
 }
 
 /**
@@ -143,8 +143,8 @@ static u32 tcp_lp_remote_hz_estimator(struct sock *sk)
                goto out;
 
        /* we can't calc remote HZ with no different!! */
-       if (tp->rx_opt.rcv_tsval == lp->remote_ref_time
-           || tp->rx_opt.rcv_tsecr == lp->local_ref_time)
+       if (tp->rx_opt.rcv_tsval == lp->remote_ref_time ||
+           tp->rx_opt.rcv_tsecr == lp->local_ref_time)
                goto out;
 
        m = HZ * (tp->rx_opt.rcv_tsval -