diff options
author | Jason Wang <jasowang@redhat.com> | 2012-05-02 11:41:58 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2012-05-02 18:22:19 +0300 |
commit | 02ce04bb3d28c3333231f43bca677228dbc686fe (patch) | |
tree | c550c85297c3c4f3e2f7e92e5f98226fefb3c259 /arch/.gitignore | |
parent | 4ef67ebedffa44ed9939b34708ac2fee06d2f65f (diff) |
macvtap: zerocopy: put page when fail to get all requested user pages
When get_user_pages_fast() fails to get all requested pages, we could not use
kfree_skb() to free it as it has not been put in the skb fragments. So we need
to call put_page() instead.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'arch/.gitignore')
0 files changed, 0 insertions, 0 deletions