summaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_semantics.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-08-18 11:31:44 +0200
committerDavid S. Miller <davem@davemloft.net>2015-08-19 04:06:58 +0200
commitc938a003448063382e0575aee2d381d4cd7aec34 (patch)
tree11a561ba6172a59e832363088b7ba95dc7e35438 /net/ipv4/fib_semantics.c
parentenic: Fix namespace pollution causing build errors. (diff)
downloadlinux-c938a003448063382e0575aee2d381d4cd7aec34.tar.xz
linux-c938a003448063382e0575aee2d381d4cd7aec34.zip
cxgb4: memory corruption in debugfs
You can't use kstrtoul() with an int or it causes memory corruption. Also j should be unsigned or we have underflow bugs. I considered changing "j" to unsigned long but everything fits in a u32. Fixes: 8e3d04fd7d70 ('cxgb4: Add MPS tracing support') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_semantics.c')
0 files changed, 0 insertions, 0 deletions