diff options
author | Charles McLachlan <cmclachlan@solarflare.com> | 2019-12-20 16:27:10 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-20 21:56:48 -0800 |
commit | 11a14dc8d7a76d3117896b975c536f1372f2a7c4 (patch) | |
tree | 54429d281b249240732e8cba3191d2f63e575df1 /tools/testing/selftests/bpf/verifier/ref_tracking.c | |
parent | 8700aff089843399f95bc7701ae87b642b35a716 (diff) |
sfc: Include XDP packet headroom in buffer step size.
Correct a mismatch between rx_page_buf_step and the actual step size
used when filling buffer pages.
This patch fixes the page overrun that occured when the MTU was set to
anything bigger than 1692.
Fixes: 3990a8fffbda ("sfc: allocate channels for XDP tx queues")
Signed-off-by: Charles McLachlan <cmclachlan@solarflare.com>
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/verifier/ref_tracking.c')
0 files changed, 0 insertions, 0 deletions