pseudotcp: Fix an assertion on an invalid calculated RTT
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 16 Apr 2014 11:43:20 +0000 (12:43 +0100)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Thu, 17 Apr 2014 21:59:39 +0000 (17:59 -0400)
commit8184eba65182293017f83371f7c465f5ce3c0c9d
tree95f1da1aadb123087e402eaaf182de60ba584cb0
parentb8508d2711900227a6b33e92d7f3f0b5b8420c38
pseudotcp: Fix an assertion on an invalid calculated RTT

If a packet has an invalid tsecr field, invalid (e.g. negative) RTTs may
be calculated from it. If so, discard the packet as invalid.
agent/pseudotcp.c