summaryrefslogtreecommitdiff
path: root/lib/extable.c
diff options
context:
space:
mode:
authorMaciej Sosnowski <maciej.sosnowski@intel.com>2008-11-07 01:46:33 (GMT)
committerDavid S. Miller <davem@davemloft.net>2008-11-10 23:00:56 (GMT)
commitc2c0b4c5434c0a25f7f7796b29155d53805909f5 (patch)
treeea3fb7e114e06c346d95c94ed288fe8b1a8ac95e /lib/extable.c
parentc3d4f44f50b65b0b0290e357f8739cfb3f4bcaca (diff)
downloadlinux-c2c0b4c5434c0a25f7f7796b29155d53805909f5.tar.xz
[2/4] I/OAT: fix dma_pin_iovec_pages() error handling
Error handling needs to be modified in dma_pin_iovec_pages(). It should return NULL instead of ERR_PTR (pinned_list is checked for NULL in tcp_recvmsg() to determine if iovec pages have been successfully pinned down). In case of error for the first iovec, local_list->nr_iovecs needs to be initialized. Cc: <stable@kernel.org> Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/extable.c')
0 files changed, 0 insertions, 0 deletions