From: Ursula Braun Date: Mon, 5 Jan 2009 01:35:18 +0000 (-0800) Subject: qeth: avoid crash in case of layer mismatch for VSWITCH X-Git-Tag: v2.6.29-rc1~502^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc9c24603c4b93d84160e14c0a98a754d4328d15;p=pandora-kernel.git qeth: avoid crash in case of layer mismatch for VSWITCH For z/VM GuestLAN or VSWITCH devices the transport layer is configured in z/VM. The layer2 attribute of a participating Linux device has to match the z/VM definition. In case of a mismatch Linux currently crashes in qeth recovery due to a reference to the not yet existing net_device. Solution: add a check for existence of net_device and add a message pointing to the mismatch of layer definitions in Linux and z/VM. Signed-off-by: Ursula Braun Signed-off-by: Frank Blaschka Signed-off-by: David S. Miller --- Reading git-diff-tree failed