summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/af_packet/af_packet.api
diff options
context:
space:
mode:
authorJim Gibson <gibson+fdio@cisco.com>2017-03-27 19:46:12 +0000
committerDamjan Marion <dmarion.lists@gmail.com>2017-03-28 13:21:57 +0000
commit22db11b491f80539438418eaaa0aa864202dadf6 (patch)
treec41d24afa6950224bee8f2b04530a7fccd43d821 /src/vnet/devices/af_packet/af_packet.api
parentda1f2c7cffb0de4ef05a48ffd107214eb11fa45f (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/vnet/devices/af_packet/af_packet.api')
0 files changed, 0 insertions, 0 deletions