summaryrefslogtreecommitdiffstats
path: root/docs/gettingstarted
diff options
context:
space:
mode:
authorSteven <sluong@cisco.com>2018-09-19 15:30:25 -0700
committerFlorin Coras <florin.coras@gmail.com>2018-09-20 02:46:15 +0000
commit6e06d66795a3948bb75cf5fd1cfc5745fec29505 (patch)
tree3df7c77aea4d560a527bd86053ef0b9c748ebf58 /docs/gettingstarted
parentcae64f896d78c4048acc9ddbe88f666f2053f02f (diff)
vmxnet3: invoke vlib_buffer_enqueue_to_next() with the wrong buffers for chain buffers
If we invoke the subject API with 2 buffers, each with 2 chains, the content of buffers[0] should be head of 1st buffer, and content of buffer[1] should be head of 2nd buffer. What the code did was to put buffers[0] = head of 1st buffer buffers[1] = next chain of 1st buffer buffers[2] = head of 2nd buffer buffers[3] = next chain of 2nd buffer This is wrong and can cause crash. The fix is to only increment bi when the entire packet is found which may consist of multiple fragments. Change-Id: If02cd5186a039d7a6c08a0959112840bdb242317 Signed-off-by: Steven <sluong@cisco.com>
Diffstat (limited to 'docs/gettingstarted')
0 files changed, 0 insertions, 0 deletions