Ilya Dryomov 67c64eb742 libceph: don't overwrite specific con error msgs
- specific con->error_msg messages (e.g. "protocol version mismatch")
  end up getting overwritten by a catch-all "socket error on read
  / write", introduced in commit 3a140a0d5c4b ("libceph: report socket
  read/write error message")
- "bad message sequence # for incoming message" loses to "bad crc" due
  to the fact that -EBADMSG is used for both

Fix it, and tidy up con->error_msg assignments and pr_errs while at it.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-04-20 18:55:37 +03:00
..
2013-05-01 21:17:15 -07:00
2014-12-17 20:09:50 +03:00
2015-02-19 13:31:40 +03:00
2011-07-19 11:25:04 -07:00
2015-02-19 13:31:37 +03:00
2015-02-11 17:06:05 -08:00