[SCSI] cxgb3i: Include net/dst.h for struct dst_cache

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, June 12, 2009 - 11:03 am

Gitweb:     http://git.kernel.org/linus/f00a3328bf9ecff46abd68a421693ba71cd16fc8
Commit:     f00a3328bf9ecff46abd68a421693ba71cd16fc8
Parent:     cbbf58f2e2cb73dbed660fdc7b741a010d6bdbef
Author:     Herbert Xu <herbert@gondor.apana.org.au>
AuthorDate: Sat May 30 13:40:04 2009 +1000
Committer:  James Bottomley <James.Bottomley@HansenPartnership.com>
CommitDate: Mon Jun 8 13:09:33 2009 -0500

    [SCSI] cxgb3i: Include net/dst.h for struct dst_cache
    
    This driver needs dst_cache->dev so it should include net/dst.h
    to ensure that it builds.  While net/tcp.h probably includes it
    already, we shouldn't rely on that since there is no guarantee
    that this won't change in future.
    
    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
    Acked-by: Mike Christie <michaelc@cs.wisc.edu>
    Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
---
 drivers/scsi/cxgb3i/cxgb3i_iscsi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/scsi/cxgb3i/cxgb3i_iscsi.c b/drivers/scsi/cxgb3i/cxgb3i_iscsi.c
index 04a4374..74369a3 100644
--- a/drivers/scsi/cxgb3i/cxgb3i_iscsi.c
+++ b/drivers/scsi/cxgb3i/cxgb3i_iscsi.c
@@ -13,6 +13,7 @@
 
 #include <linux/inet.h>
 #include <linux/crypto.h>
+#include <net/dst.h>
 #include <net/tcp.h>
 #include <scsi/scsi_cmnd.h>
 #include <scsi/scsi_device.h>
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[SCSI] cxgb3i: Include net/dst.h for struct dst_cache, Linux Kernel Mailing ..., (Fri Jun 12, 11:03 am)