vxge: check for card status before continuing in device close
authorSreenivasa Honnur <Sreenivasa.Honnur@neterion.com>
Wed, 1 Jul 2009 21:14:03 +0000 (21:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jul 2009 02:16:28 +0000 (19:16 -0700)
commitbd9ee6808b6c9106fd8046693c544d081746184b
tree307fa3aefbea6c79de811695f8ddd5e758eebeb8
parent914d0d714fa472d7f99ef899a8180628ecdcd23c
vxge: check for card status before continuing in device close

- Fixed the crash in rmmod after vpath open failed when trying to change mtu.
We should check for card status before continuing in device close.

Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: Ramkrishna Vepa <ram.vepa@neterion.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxge/vxge-main.c