RDS: make message size limit compliant with spec
authorAvinash Repaka <avinash.repaka@oracle.com>
Mon, 29 Feb 2016 23:30:57 +0000 (15:30 -0800)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 2 Jan 2017 22:02:57 +0000 (14:02 -0800)
commitf9fb69adb6c7acca60977a4db5a5f95b8e66c041
treedff2d16511069d9fb5961ba6284ae3aa56520fa1
parent192a798f52998a643cef84fce0204be56666b0bf
RDS: make message size limit compliant with spec

RDS support max message size as 1M but the code doesn't check this
in all cases. Patch fixes it for RDMA & non-RDMA and RDS MR size
and its enforced irrespective of underlying transport.

Signed-off-by: Avinash Repaka <avinash.repaka@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
net/rds/rdma.c
net/rds/rds.h
net/rds/send.c