Whamcloud - gitweb
LU-12981 lnet: Check MTU accurately 96/36796/4
authorAlexey Lyashkov <c17817@cray.com>
Tue, 19 Nov 2019 14:00:42 +0000 (17:00 +0300)
committerOleg Drokin <green@whamcloud.com>
Sun, 1 Mar 2020 05:35:39 +0000 (05:35 +0000)
commit3f80976445f7e9662b81d11db6136efe5d501bb4
tree5b5fda5adb58d1b3a2b06892f80e04b9e05fb9e0
parent6521dda6f4377c9c688ce4905cd94adf9f99013f
LU-12981 lnet: Check MTU accurately

The existing check for MTU lacks checking for the KIOV/IOV cases,
and false positive triggered for very large incomming
buffer.

Cray-bug-id: LUS-7948
Signed-off-by: Alexey Lyashkov <c17817@cray.com>
Change-Id: Id3497e5f63470c24b2e51703fc564b02c9516aa6
Reviewed-on: https://review.whamcloud.com/36796
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/lib-md.c