diff options
author | Jag Raman <jag.raman@oracle.com> | 2017-06-09 19:29:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-11 00:10:55 +0300 |
commit | 6c95483b768c62f8ee933ae08a1bdbcb78b5410f (patch) | |
tree | 9747d8a1b18cfe1bc2caa1268282602034c11d89 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | fc43b978a02985aad7540d77de6b3aa0579a678c (diff) | |
download | linux-6c95483b768c62f8ee933ae08a1bdbcb78b5410f.tar.xz |
sparc64: ldc abort during vds iso boot
Orabug: 20902628
When an ldc control-only packet is received during data exchange in
read_nonraw(), a new rx head is calculated but the rx queue head is not
actually advanced (rx_set_head() is not called) and a branch is taken to
'no_data' at which point two things can happen depending on the value
of the newly calculated rx head and the current rx tail:
- If the rx queue is determined to be not empty, then the wrong packet
is picked up.
- If the rx queue is determined to be empty, then a read error (EAGAIN)
is eventually returned since it is falsely assumed that more data was
expected.
The fix is to update the rx head and return in case of a control only
packet during data exchange.
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Reviewed-by: Aaron Young <aaron.young@oracle.com>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Reviewed-by: Bijan Mottahedeh <bijan.mottahedeh@oracle.com>
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions