commit | 12474e8e58d82e2b815cd35956c0c06fab104ee7 | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Thu Aug 04 12:11:56 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 08 12:51:58 2016 -0700 |
tree | 74c5fdb34f87f717342f0f4247156144eb055061 | |
parent | dca3f53c02e325bb19dfc05b1571b9a706226fea [diff] |
sctp_diag: Fix T3_rtx timer export The asoc's timer value is not kept in asoc->timeouts array but in it's primary transport instead. Furthermore, we must export the timer only if it is pending, otherwise the value will underrun when stored in an unsigned variable and user space will only see a very large timeout value. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: David S. Miller <davem@davemloft.net>