aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorRoger Oksanen <[email protected]>2009-12-18 20:18:21 -0800
committerDavid S. Miller <[email protected]>2009-12-18 20:18:21 -0800
commit70abc8cb90e679d8519721e2761d8366a18212a6 (patch)
tree2775b4662f5ed3e400d807c5304ad2063a59eebe /drivers/mtd/lpddr/lpddr_cmds.c
parent5ee6f6a17cfde9c3141e4d57cf88b5cdf638b463 (diff)
e100: Fix broken cbs accounting due to missing memset.
Alan Stern noticed that e100 caused slab corruption. commit 98468efddb101f8a29af974101c17ba513b07be1 changed the allocation of cbs to use dma pools that don't return zeroed memory, especially the cb->status field used to track which cb to clean, causing (the visible) double freeing of skbs and a wrong free cbs count. Now the cbs are explicitly zeroed at allocation time. Reported-by: Alan Stern <[email protected]> Tested-by: Alan Stern <[email protected]> Signed-off-by: Roger Oksanen <[email protected]> Acked-by: Jesse Brandeburg <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions