From: Thadeu Lima de Souza Cascardo Date: Mon, 24 Feb 2014 20:04:52 +0000 (-0300) Subject: net/cxgb4: use remove handler as shutdown handler X-Git-Tag: v3.14-rc6~30^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=687d705c031916b83953b714917b04d899e23cf5;p=pandora-kernel.git net/cxgb4: use remove handler as shutdown handler Without a shutdown handler, T4 cards behave very badly after a kexec. Some firmware calls return errors indicating allocation failures, for example. This is probably because thouse resources were not released by a BYE message to the firmware, for example. Using the remove handler guarantees we will use a well tested path. With this patch I applied, I managed to use kexec multiple times and probe and iSCSI login worked every time. Signed-off-by: Thadeu Lima de Souza Cascardo Signed-off-by: David S. Miller --- Reading git-diff-tree failed