summaryrefslogtreecommitdiffstats
path: root/net/decnet/dn_table.c
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2014-09-26 16:05:22 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-09-29 15:31:01 +0200
commitc479f4383ea8940dd6f88da61798ad31feb33e51 (patch)
tree0904e286cbbf9d300385f4714584ab3d8bb4e180 /net/decnet/dn_table.c
parentdrm/i915: Do not store the error pointer for a failed userptr registration (diff)
downloadlinux-c479f4383ea8940dd6f88da61798ad31feb33e51.tar.xz
linux-c479f4383ea8940dd6f88da61798ad31feb33e51.zip
drm/i915: Do not leak pages when freeing userptr objects
sg_alloc_table_from_pages() can build us a table with coalesced ranges which means we need to iterate over pages and not sg table entries when releasing page references. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: "Barbalho, Rafael" <rafael.barbalho@intel.com> Tested-by: Rafael Barbalho <rafael.barbalho@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: stable@vger.kernel.org [danvet: Remove unused local variable sg.] Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'net/decnet/dn_table.c')
0 files changed, 0 insertions, 0 deletions