]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit22aa4ef3dd61c2d871f6c068d51e3f7341243822
treeab24b09038b432e93e6afdcd660447ca1714eaa6
parente2da4a8fd8de463656a0c1acda1ad49107279684
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