Em Sat, 7 May 2016 12:12:07 -0300 Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxx> escreveu: > Those two patches are needed by Shuah's patch that fix use-after free troubles: > https://patchwork.linuxtv.org/patch/34201/ > > Those two patches were already sent back on March, 23 but specially the second > patch would need more review. > > So, resend it, in order to get some acks. My plan is to test them together with Shuah's > patch on this Monday, and apply them as soon as possible, for the Kernel 4.7 merge > window. Those patches should be c/c to stable, in order to fix for older Kernels. > > Mauro Carvalho Chehab (2): > [media] media-devnode: fix namespace mess > [media] media-device: dynamically allocate struct media_devnode In order to make easier for everyone to test, I applied the three patches (Shuah's one, plus the two above) on this branch: https://git.linuxtv.org//mchehab/experimental.git/log/?h=media_cdev_fix Shuah, Please notice that some rebase was needed, as there were some other patches fixing other stuff related with the MC that got applied earlier. > > drivers/media/media-device.c | 44 +++++++++---- > drivers/media/media-devnode.c | 115 +++++++++++++++++---------------- > drivers/media/usb/au0828/au0828-core.c | 4 +- > drivers/media/usb/uvc/uvc_driver.c | 2 +- > include/media/media-device.h | 5 +- > include/media/media-devnode.h | 27 +++++--- > 6 files changed, 113 insertions(+), 84 deletions(-) > -- Thanks, Mauro -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html