]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/suse-2.6.27.31/patches.drivers/fcoe-logoff-of-the-fabric-when.diff
Add a patch to fix Intel E100 wake-on-lan problems.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.drivers / fcoe-logoff-of-the-fabric-when.diff
1 From: Robert Love <robert.w.love@intel.com>
2 Subject: [FcOE] Logoff of the fabric when destroying interface
3 References: bnc #459142
4
5 This line was accidentally removed by a previous patch.
6
7 Signed-off-by: Robert Love <robert.w.love@intel.com>
8 Acked-by: Bernhard Walle <bwalle@suse.de>
9 ---
10
11 drivers/scsi/fcoe/fcoe_sw.c | 3 +++
12 1 file changed, 3 insertions(+)
13
14
15 --- a/drivers/scsi/fcoe/fcoe_sw.c
16 +++ b/drivers/scsi/fcoe/fcoe_sw.c
17 @@ -302,6 +302,9 @@ static int fcoe_sw_destroy(struct net_de
18
19 fc = fcoe_softc(lp);
20
21 + /* Logout of the fabric */
22 + fc_fabric_logoff(lp);
23 +
24 /* Remove the instance from fcoe's list */
25 fcoe_hostlist_remove(lp);
26