diff options
author | 2017-01-25 18:22:48 -0800 | |
---|---|---|
committer | 2017-01-25 22:48:17 -0500 | |
commit | b68df015609eac67f045c155cb3195e5a1061d66 (patch) | |
tree | 6591853f9de1cc61b8ebdd0cd705da4a3fa440f9 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Merge branch 'r8152-napi-fixes' (diff) | |
download | wireguard-linux-b68df015609eac67f045c155cb3195e5a1061d66.tar.xz wireguard-linux-b68df015609eac67f045c155cb3195e5a1061d66.zip |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions