summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@kernellabs.com>2012-08-06 22:47:03 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-28 10:14:15 -0700
commitf0dc514c8a0fd7ee7b1f6a3ccdae3b38e6ee1578 (patch)
tree1109a7144cdc82b63145a0a55b5e1d47d566e5f3 /net
parentbfbd61ec59fae6f633db1d139015c3dd81e453be (diff)
downloadlinux-3.10-f0dc514c8a0fd7ee7b1f6a3ccdae3b38e6ee1578.tar.gz
linux-3.10-f0dc514c8a0fd7ee7b1f6a3ccdae3b38e6ee1578.tar.bz2
linux-3.10-f0dc514c8a0fd7ee7b1f6a3ccdae3b38e6ee1578.zip
media: au0828: fix case where STREAMOFF being called on stopped stream causes BUG()
commit a595c1ce4c9d572cf53513570b9f1a263d7867f2 upstream. We weren't checking whether the resource was in use before calling res_free(), so applications which called STREAMOFF on a v4l2 device that wasn't already streaming would cause a BUG() to be hit (MythTV). Reported-by: Larry Finger <larry.finger@lwfinger.net> Reported-by: Jay Harbeston <jharbestonus@gmail.com> Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions