diff options
author | 2013-08-09 16:21:43 -0400 | |
---|---|---|
committer | 2013-08-30 11:56:42 -0400 | |
commit | c0f060106000bafafc56ad2af147e541458eabdd (patch) | |
tree | b76b78391f9e86d558f44640000e0589b5076431 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | tile: remove set/clear_fixmap APIs (diff) | |
download | linux-dev-c0f060106000bafafc56ad2af147e541458eabdd.tar.xz linux-dev-c0f060106000bafafc56ad2af147e541458eabdd.zip |
tile: fix strncpy_from_user bug
In strncpy_from_user_asm, when the destination buffer length was the
same as the actual string length, we were returning the size of the
destination buffer. But since it's a NUL terminated string, we should
return the length of the string instead.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions