aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee802154/6lowpan.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-08-03 12:51:21 +0200
committerTakashi Iwai <tiwai@suse.de>2012-08-03 12:51:21 +0200
commitfcfb7866af9a5d0280b7e51dd772990c636b7dec (patch)
tree48f69f0f63ad101d7b1835363786f91156d52c47 /net/ieee802154/6lowpan.c
parentALSA: PCM: Fix possible memory leaks in the error path (diff)
downloadlinux-dev-fcfb7866af9a5d0280b7e51dd772990c636b7dec.tar.xz
linux-dev-fcfb7866af9a5d0280b7e51dd772990c636b7dec.zip
ALSA: emu10k1: Avoid access to invalid pages when period=1
When period=1, the driver tries to allocate a bit bigger buffer than requested by the user due to the irq latency tolerance. This may lead to accesses over the actually allocated pages. This patch adds a check of the page index and assigns the silent page when it's over the given buffer size. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'net/ieee802154/6lowpan.c')
0 files changed, 0 insertions, 0 deletions