Whamcloud - gitweb
LU-692 ptlrpc: don't LASSERT on larger ptlrpc_body 1.8.7-wc1 v1_8_7_WC1 v1_8_7_WC1_RC2
authorAndreas Dilger <adilger@whamcloud.com>
Mon, 24 Oct 2011 04:57:26 +0000 (22:57 -0600)
committerJohann Lombardi <johann@whamcloud.com>
Mon, 24 Oct 2011 15:46:21 +0000 (11:46 -0400)
commit1cf716f1521a2beacafd0d24c4deac0c9d7af662
treedc46188b07aeb531bb8c523b786a40754cdfda58
parent9500ebf6146dcd50dab094b502d4b50d0123296a
LU-692 ptlrpc: don't LASSERT on larger ptlrpc_body

Don't LASSERT() on a larger ptlrpc_body that might be sent from
the server.  The lustre_msg_size() function is called against
a lustre_msg buffer sent from the server in case of an early
reply, and it shouldn't LASSERT() on data received from the network.

Reserve OBD_CONNECT_* flags and obd_connect_data fields from master.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I1f68c20d1048c379ae33e328995673d3cfbe8145
Reviewed-on: http://review.whamcloud.com/1584
Tested-by: Hudson
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/include/lustre/lustre_idl.h
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c