diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2019-10-16 14:40:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-17 15:35:56 -0400 |
commit | d9496f3ecfe4823c1e12aecbcc29220147fa012c (patch) | |
tree | c90fa3c1f00577454c6abed18e1a931b6832f1a6 /net/ipv4/tcp_timer.c | |
parent | 4eab421bc339e719af1b4b9560dd0cb97ce29b73 (diff) |
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 <ilias.apalodimas@linaro.org>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions