linux/drivers/net/ethernet/chelsio
Dan Carpenter c938a00344 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: 8e3d04fd7d ('cxgb4: Add MPS tracing support')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-08-18 19:06:58 -07:00
..
cxgb chelsio cxgb/cxgb3: Make stats_strings arrays const 2015-04-01 14:41:20 -04:00
cxgb3 cxgb3: use kvfree() in cxgb_free_mem() 2015-06-30 19:44:59 -07:00
cxgb4 cxgb4: memory corruption in debugfs 2015-08-18 19:06:58 -07:00
cxgb4vf cxgb4/cxgb4vf: read the correct bits of PL Who Am I register 2015-08-04 01:24:35 -07:00
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile