aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-common.h
diff options
context:
space:
mode:
authorJason Wang <[email protected]>2018-03-02 09:29:14 +0000
committerDavid S. Miller <[email protected]>2018-03-05 03:16:36 +0000
commit3cc81a9aac43829d86ebf775c388b42d770bc0ac (patch)
tree0d0660438a787fd1addd589e5f79c72fc41e7f71 /scripts/gcc-plugins/gcc-common.h
parentppp: prevent unregistered channels from connecting to PPP units (diff)
downloadkernel-3cc81a9aac43829d86ebf775c388b42d770bc0ac.tar.gz
kernel-3cc81a9aac43829d86ebf775c388b42d770bc0ac.zip
virtio-net: re enable XDP_REDIRECT for mergeable buffer
XDP_REDIRECT support for mergeable buffer was removed since commit 7324f5399b06 ("virtio_net: disable XDP_REDIRECT in receive_mergeable() case"). This is because we don't reserve enough tailroom for struct skb_shared_info which breaks XDP assumption. So this patch fixes this by reserving enough tailroom and using fixed size of rx buffer. Signed-off-by: Jason Wang <[email protected]> Acked-by: Jesper Dangaard Brouer <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions