summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorMaciej Sosnowski <maciej.sosnowski@intel.com>2008-11-11 17:50:07 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2008-11-13 09:56:00 -0800
commit33cfbb0629d7e08875f23ceeff21c4067a0937e5 (patch)
tree7ced2a307949c8500ad719fdf8f33d9206bd75b5 /virt
parentfaa895b7004d19540d6da360b8e9ae22119aa61d (diff)
downloadlwn-33cfbb0629d7e08875f23ceeff21c4067a0937e5.tar.gz
lwn-33cfbb0629d7e08875f23ceeff21c4067a0937e5.zip
I/OAT: fix dma_pin_iovec_pages() error handling
commit c2c0b4c5434c0a25f7f7796b29155d53805909f5 upstream 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. Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions