diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-10-10 01:42:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-11 04:50:45 +0200 |
commit | 435f08a721919a0027ff4f39f0b51c141c0e2c29 (patch) | |
tree | c199eb13057b333a03ec2c134c119bfbed36ba0b /net | |
parent | vxlan: fix oops when give unknown ifindex (diff) | |
download | linux-435f08a721919a0027ff4f39f0b51c141c0e2c29.tar.xz linux-435f08a721919a0027ff4f39f0b51c141c0e2c29.zip |
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions