summaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_semantics.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-08-18 12:31:44 +0300
committerDavid S. Miller <davem@davemloft.net>2015-08-18 19:06:58 -0700
commitc938a003448063382e0575aee2d381d4cd7aec34 (patch)
tree11a561ba6172a59e832363088b7ba95dc7e35438 /net/ipv4/fib_semantics.c
parent3dc33e23227de8d854a665157cf465303e7cbbce (diff)
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