]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: potential shift wrapping bug
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 8 Oct 2014 13:43:17 +0000 (16:43 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Oct 2014 20:08:04 +0000 (16:08 -0400)
commit9ce57ae9798cc413f395335f3aa7f88d73599184
treee0e89a8b21375e2718a89097174ec309549d4ff4
parent2547a56d7aa81afefb77244f1e9a79965257eb91
cxgb4: potential shift wrapping bug

"cntxt_id" is an unsigned int but "udb" is a u64 so there is a potential
shift wrapping bug here.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/sge.c