diff options
author | Jim Gibson <gibson+fdio@cisco.com> | 2017-03-27 19:46:12 +0000 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-03-28 13:21:57 +0000 |
commit | 22db11b491f80539438418eaaa0aa864202dadf6 (patch) | |
tree | c41d24afa6950224bee8f2b04530a7fccd43d821 /src/vlib.am | |
parent | da1f2c7cffb0de4ef05a48ffd107214eb11fa45f (diff) |
af_packet driver needs to check VLIB_BUFFER_NEXT_PRESENT flag is set
when walking vlib_buffer_t next_buffer chain on transmit.
On buffer allocation:
- next_buffer is not and may contain a stale invalid value that
should be ignored if not overwritten by a valid value.
- VLIB_BUFFER_NEXT_PRESENT flag is cleared and only set
if a valid value is written to next_buffer.
Change-Id: I9b0ccdc54f4f7456f8328ce7c4a0d52d0fba8caa
Signed-off-by: Jim Gibson <gibson+fdio@cisco.com>
Diffstat (limited to 'src/vlib.am')
0 files changed, 0 insertions, 0 deletions