IPoIB/cm: Fix interoperability when MTU doesn't match
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>
Wed, 20 Jun 2007 16:22:15 +0000 (19:22 +0300)
committerRoland Dreier <rolandd@cisco.com>
Thu, 21 Jun 2007 20:38:08 +0000 (13:38 -0700)
commit82c3aca6ad9004169df8f2f8c0747686fe4003b3
treeab24b09038b432e93e6afdcd660447ca1714eaa6
parent3ec7393a6858a1716e74aa81be6af76fd180021d
IPoIB/cm: Fix interoperability when MTU doesn't match

IPoIB connected mode currently rejects a connection request unless the
supported MTU is >= the local netdevice MTU. This breaks
interoperability with implementations that might have tweaked
IPOIB_CM_MTU, and there's real no longer a reason to do so: this test
is just a leftover from when we did not tweak MTU per-connection.  Fix
this by making the test as permissive as possible.

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_cm.c