ctcm: avoid crash in ctcm_remove_device
authorUrsula Braun <ursula.braun@de.ibm.com>
Tue, 19 May 2009 21:38:38 +0000 (21:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 May 2009 00:36:49 +0000 (17:36 -0700)
commit8ac6d452281b01b9c7ff382d640b547379e398cd
treec8abfc7a79850d38a070b93b60b8346afb97af70
parentf214856540f6d704e817bf6b26a6bca9e697ee72
ctcm: avoid crash in ctcm_remove_device

Channels are already removed when setting a ctcm-device offline.
Thus ctcm_remove_device must not refer to channel information.
Solution: delete channel information from the trace call in
ctcm_remove_device.

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/ctcm_main.c