aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorIlias Apalodimas <[email protected]>2019-10-16 11:40:32 +0000
committerDavid S. Miller <[email protected]>2019-10-17 19:35:56 +0000
commitd9496f3ecfe4823c1e12aecbcc29220147fa012c (patch)
treec90fa3c1f00577454c6abed18e1a931b6832f1a6 /drivers/net/xen-netback/interface.c
parentnet: sched: Avoid using yield() in a busy waiting loop (diff)
downloadkernel-d9496f3ecfe4823c1e12aecbcc29220147fa012c.tar.gz
kernel-d9496f3ecfe4823c1e12aecbcc29220147fa012c.zip
net: netsec: Correct dma sync for XDP_TX frames
bpf_xdp_adjust_head() can change the frame boundaries. Account for the potential shift properly by calculating the new offset before syncing the buffer to the device for XDP_TX Fixes: ba2b232108d3 ("net: netsec: add XDP support") Signed-off-by: Ilias Apalodimas <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions