diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2011-02-24 23:15:01 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-25 11:19:37 -0800 |
commit | 8f44fcc72a454c5eb7cbc138bd53f0963f23e87f (patch) | |
tree | 41b21091270d76526b13782fb0e134b79f15e409 /fs/ioprio.c | |
parent | 0165d69bcb18c5aa220538389c872852243f9725 (diff) | |
download | linux-stable-8f44fcc72a454c5eb7cbc138bd53f0963f23e87f.tar.gz linux-stable-8f44fcc72a454c5eb7cbc138bd53f0963f23e87f.tar.bz2 linux-stable-8f44fcc72a454c5eb7cbc138bd53f0963f23e87f.zip |
Phonet: fix flawed "SYN/ACK" logic
* Do not fail if the peer supports more or less than 3 algorithms.
* Ignore unknown congestion control algorithms instead of failing.
* Simplify congestion algorithm negotiation (largest is best).
* Do not use a static buffer.
* Fix off-by-two read overflow.
* Avoid extra memory copy (in addition to skb_copy_bits()).
The previous code really made no sense.
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/ioprio.c')
0 files changed, 0 insertions, 0 deletions