commit | 435f08a721919a0027ff4f39f0b51c141c0e2c29 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Oct 09 23:42:18 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 10 22:50:45 2012 -0400 |
tree | c199eb13057b333a03ec2c134c119bfbed36ba0b | |
parent | 34e02aa1fb0886d8e92ab00e3dc17d631487f92d [diff] |
isdn: fix a wrapping bug in isdn_ppp_ioctl() "protos" is an array of unsigned longs and "i" is the number of bits in an unsigned long so we need to use 1UL as well to prevent the shift from wrapping around. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>