]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/Pipe: only randomize start seq #'s if MSG_AUTH feature is present
authorSage Weil <sage@inktank.com>
Tue, 30 Oct 2012 17:00:42 +0000 (10:00 -0700)
committerSage Weil <sage@inktank.com>
Tue, 30 Oct 2012 17:00:42 +0000 (10:00 -0700)
commit02f6262f47f72178a78d410f4facab7bbc97b098
tree4f0912803e637eb6c2d990d3c4a90216387c7f23
parent3a48cbf245f36306052d004b2a7411ea9d803cd0
msg/Pipe: only randomize start seq #'s if MSG_AUTH feature is present

The kernel client expects seq #'s to start at 1 or else it is unhappy.
So, only randomize these values if the MSG_AUTH feature is present--that is
the only time it matters anyway.

Signed-off-by: Sage Weil <sage@inktank.com>
src/msg/Pipe.cc