https://github.com/torvalds/linux
Revision b1812582ba94b5f377d5d3cec7646cc17d84e733 authored by Joachim Fenkes on 01 December 2007, 00:19:41 UTC, committed by Roland Dreier on 01 December 2007, 00:19:41 UTC
The formula would yield -1 if the path is faster than the link, which
is wrong in a bad way (max throttling).  Clamp to 0, which is the
correct value.

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
1 parent 1401b53
History
Tip revision: b1812582ba94b5f377d5d3cec7646cc17d84e733 authored by Joachim Fenkes on 01 December 2007, 00:19:41 UTC
IB/ehca: Fix static rate if path faster than link
Tip revision: b181258
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
.gitignore -rw-r--r-- 628 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.1 KB
Kbuild -rw-r--r-- 1.6 KB
MAINTAINERS -rw-r--r-- 93.0 KB
Makefile -rw-r--r-- 52.0 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top