]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IPoIB: Fix network interface "RUNNING" status
authorLeonid Arsh <leonida@voltaire.com>
Wed, 22 Mar 2006 17:54:24 +0000 (19:54 +0200)
committerRoland Dreier <rolandd@cisco.com>
Fri, 24 Mar 2006 23:47:29 +0000 (15:47 -0800)
commit4e37b956161c3a3b160972c11c55f07b38b9830c
treed3e18ea58a3375afd2920062ad454b5e3f7371ae
parentb0b3a8e1939d18c9bd4caca0b4b859b118a4167e
IPoIB: Fix network interface "RUNNING" status

With the current IPoIB driver, the status of network interfaces stays
"RUNNING" even if the link goes down (for example because a cable is
unplugged).  Fix this by flushing the IPoIB interface when the link
goes down.

Signed-off-by: Leonid Arsh <leonida@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_verbs.c