RDMA/nes: Fix stale ARP issue
authorFaisal Latif <faisal.latif@intel.com>
Wed, 9 Dec 2009 23:54:33 +0000 (15:54 -0800)
committerRoland Dreier <rolandd@cisco.com>
Wed, 9 Dec 2009 23:54:33 +0000 (15:54 -0800)
commit7a576dfd9ed4fd0f32bb838ce4f644af201ac7df
treee7e236ce0e66d442114c7e7e9012341aecdb78a8
parentb1190d3e0d548615ee7c38c10b5fc376a76b7afd
RDMA/nes: Fix stale ARP issue

When the remote node's ethernet address changes, the connection keeps
trying to connect using the old address.  The connection wil continue
failing until the driver is unloaded and loaded again (eiter reboot or
rmmod).  Fix this by checking that the NIC has the correct address
before starting a connection.

Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes_cm.c