[GIT FIXES FOR v3.20] Fix USERPTR buffers for vb2 dma-contig mem type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mauro,

This single patch fixes setting the write parameter to 1 for
get_user_pages() on writable buffers. Without this using USERPTR buffers
with the dma-contig mem type will corrupt system memory.

This is directly applicable to fixes and master branches and should be
pulled into both.

The following changes since commit 4bad5d2d25099a42e146d7b18d2b98950ed287f5:

  [media] dvb_net: Convert local hex dump to print_hex_dump_debug (2015-02-03 18:24:44 -0200)

are available in the git repository at:

  ssh://linuxtv.org/git/sailus/media_tree.git vb2-fix

for you to fetch changes up to 5a433fbc3ead7d65143bf039eb77512d0558e2e7:

  vb2: Fix dma_dir setting for dma-contig mem type (2015-02-13 12:14:31 +0200)

----------------------------------------------------------------
Sakari Ailus (1):
      vb2: Fix dma_dir setting for dma-contig mem type

 drivers/media/v4l2-core/videobuf2-dma-contig.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

-- 
Kind regards,

Sakari Ailus
e-mail: sakari.ailus@xxxxxx	XMPP: sailus@xxxxxxxxxxxxxx
--
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




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux