aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSebastian Sanchez <[email protected]>2016-02-03 14:34:32 -0800
committerDoug Ledford <[email protected]>2016-03-10 20:37:53 -0500
commite002dcc0abd318b0c5d7b2d05ba41ef4d00abe73 (patch)
treec7cd26fc95cc7a2aa720edbce78418f6839c447a /tools/perf/scripts/python/bin
parent23cd4716b7e2792f1fdc31b83feb9e9a9812c25f (diff)
staging/rdma/hfi1: Fix for module parameter rcvhdrcnt when it's 2097152
The driver crashes when loaded with parameter rcvhdrcnt=2097152. The root cause was that rcvhdrcnt was initially a 32 bit variable and its value was assigned to a 16 bit variable, truncating the upper 16 bits. This patch prevents the user from passing a value for rcvhdrcnt greater than 16352 (Maximum number for rcvhdrcnt). Reviewed-by: Dean Luick <[email protected]> Reviewed-by: Mitko Haralanov <[email protected]> Signed-off-by: Sebastian Sanchez <[email protected]> Signed-off-by: Jubin John <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions