summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJohn Fastabend <john.fastabend@gmail.com>2017-01-25 18:22:48 -0800
committerDavid S. Miller <davem@davemloft.net>2017-01-25 22:48:17 -0500
commitb68df015609eac67f045c155cb3195e5a1061d66 (patch)
tree6591853f9de1cc61b8ebdd0cd705da4a3fa440f9 /Documentation
parent7480888f27e080ad5addb51456b2e03514721c3a (diff)
virtio_net: use dev_kfree_skb for small buffer XDP receive
In the small buffer case during driver unload we currently use put_page instead of dev_kfree_skb. Resolve this by adding a check for virtnet mode when checking XDP queue type. Also name the function so that the code reads correctly to match the additional check. Fixes: bb91accf2733 ("virtio-net: XDP support for small buffers") Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Acked-by: Jason Wang <jasowang@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions