libceph: use MSG_TRUNC for discarding received bytes
authorIlya Dryomov <idryomov@gmail.com>
Fri, 27 Apr 2018 16:58:47 +0000 (18:58 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 4 Jun 2018 18:45:55 +0000 (20:45 +0200)
commite5c9388399e012ed919ad5dac818a11ed1391b18
treea5202c6a0b8546d344167796b299bef36b814763
parentd2935d6f758fa72290ed30bd7482675e04715b6f
libceph: use MSG_TRUNC for discarding received bytes

Avoid a copy into the "skip buffer".

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/messenger.c