summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2007-10-23 12:46:32 +0200
committerJens Axboe <jens.axboe@oracle.com>2007-10-23 12:46:32 +0200
commitebc3bbcfcf0a7fed2ac82f1a849a5f92cf4c217f (patch)
tree3424465e7327fea6b8ec0130b082fd20548864d1 /net/sctp
parent75d35c93cf8b938f28f06ceb8ffa2606d6e57d3b (diff)
downloadlinux-ebc3bbcfcf0a7fed2ac82f1a849a5f92cf4c217f.tar.gz
linux-ebc3bbcfcf0a7fed2ac82f1a849a5f92cf4c217f.tar.bz2
linux-ebc3bbcfcf0a7fed2ac82f1a849a5f92cf4c217f.zip
Fix sctp compile
sctp fails to compile with net/sctp/sm_make_chunk.c: In function 'sctp_pack_cookie': net/sctp/sm_make_chunk.c:1516: error: implicit declaration of function 'sg_init_table' net/sctp/sm_make_chunk.c:1517: error: implicit declaration of function 'sg_set_page' use the proper include file. SCTP maintainers Vlad Yasevich and Sridhar Samudrala are CCed. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'net/sctp')
-rw-r--r--net/sctp/sm_make_chunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c
index d5a9785a158b..658476c4d587 100644
--- a/net/sctp/sm_make_chunk.c
+++ b/net/sctp/sm_make_chunk.c
@@ -56,7 +56,7 @@
#include <linux/ipv6.h>
#include <linux/net.h>
#include <linux/inet.h>
-#include <asm/scatterlist.h>
+#include <linux/scatterlist.h>
#include <linux/crypto.h>
#include <net/sock.h>