MFC r180869   Fix buffer discard index.   While I'm here dicard all buffers if errored frame is part of   multi-segmented frames.
MFC r180869
  Fix buffer discard index.
  While I'm here dicard all buffers if errored frame is part of
  multi-segmented frames.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase