diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2018-10-10 16:15:55 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-10-11 17:48:27 +0000 |
commit | 376414f4c3f53af44da4e82ee5d0b1843b291f8e (patch) | |
tree | 7c235c4f09d6a9af813a608b6d57691a9eb30037 /src/vnet/classify | |
parent | 5551e41f78249b72715203ecd93586f48acccbf4 (diff) |
vnet: complete the fix for l3_hdr_offset calculation for single loop fastpass case (VPP-1444)
20e6d36b has moved the calculation of the l3_hdr_offset into the determine_next_node()
function, with the assumption that the current_data in the buffer is at
the L3 header. This is not the case for the single loop fastpath,
where the vlib_buffer_advance() call is made after the call to
determine_next_node(), as a day1 behavior. As a result - that path
incorrectly sets the l3_hdr_offset.
Solution: move the vlib_buffer_advance() call to before determine_next_node()
Change-Id: Id5eaa084c43fb6564f8239df4a0b3dc0412b15de
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/vnet/classify')
0 files changed, 0 insertions, 0 deletions