aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorNikita V. Shirokov <[email protected]>2018-04-25 07:15:03 -0700
committerDaniel Borkmann <[email protected]>2018-04-26 22:56:40 +0200
commitf761312023a1f0d625e34daadd54c3f9cb2a4ac2 (patch)
treeb613029c3576b321bf5850a4d03b2457718bb1fb /lib/mpi/mpiutil.c
parent9b984a20ca84337af81cdab92d1e8ae37007894a (diff)
bpf: fix xdp_generic for bpf_adjust_tail usecase
When bpf_adjust_tail was introduced for generic xdp, it changed skb's tail pointer, so it was pointing to the new "end of the packet". However skb's len field wasn't properly modified, so on the wire ethernet frame had original (or even bigger, if adjust_head was used) size. This diff is fixing this. Fixes: 198d83bb3 (" bpf: make generic xdp compatible w/ bpf_xdp_adjust_tail") Signed-off-by: Nikita V. Shirokov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions