aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2015-03-07 17:10:01 +0100
committerMark Brown <[email protected]>2015-03-07 16:17:33 +0000
commit328f494d95aac8bd4896aea2328bc281053bcb71 (patch)
tree611a00959c2ef443c65d0ec5727368ebc9749f13 /net/unix/sysctl_net_unix.c
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
regmap: regcache-rbtree: Fix present bitmap resize
When inserting a new register into a block at the lower end the present bitmap is currently shifted into the wrong direction. The effect of this is that the bitmap becomes corrupted and registers which are present might be reported as not present and vice versa. Fix this by shifting left rather than right. Fixes: 472fdec7380c("regmap: rbtree: Reduce number of nodes, take 2") Reported-by: Daniel Baluta <[email protected]> Signed-off-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions