smsgiucv: guarantee single iucv connect in thaw
authorUrsula Braun <ursula.braun@de.ibm.com>
Mon, 21 Jun 2010 22:57:02 +0000 (22:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jun 2010 20:16:32 +0000 (13:16 -0700)
commit59b60e9724318dd757896742dcd68e516996bbc5
tree28889d729dd5b901a446a4b7e08f9d3fffdb639d
parent4eaef482df464d1038b75769d43ac06ce0d16cd2
smsgiucv: guarantee single iucv connect in thaw

If another smsgiucv_app device exists, suspend / resume fails with
iucv path list corruption, because the same iucv_path_connect is
called twice.
The patch introduces a flag to save connect status of the smsgiucv
path to make sure iucv_path_connect in smsg_pm_restore_thaw is
called only once.

Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/smsgiucv.c