diff options
author | Alex Elder <elder@inktank.com> | 2013-04-05 21:46:01 +0200 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-05-02 06:18:27 +0200 |
commit | f759ebb968dbf185fc079dd2e824b1aa3a3d71aa (patch) | |
tree | 4a1e7615ba84e4ddcdc87051e542a654a909d92e /fs/nfs | |
parent | libceph: fix possible CONFIG_BLOCK build problem (diff) | |
download | linux-f759ebb968dbf185fc079dd2e824b1aa3a3d71aa.tar.xz linux-f759ebb968dbf185fc079dd2e824b1aa3a3d71aa.zip |
libceph: skip message if too big to receive
We know the length of our message buffers. If we get a message
that's too long, just dump it and ignore it. If skip was set
then con->in_msg won't be valid, so be careful not to dereference
a null pointer in the process.
This resolves:
http://tracker.ceph.com/issues/4664
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions