Fix sctp compile
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 23 Oct 2007 10:46:32 +0000 (12:46 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 23 Oct 2007 10:46:32 +0000 (12:46 +0200)
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>
net/sctp/sm_make_chunk.c

index d5a9785..658476c 100644 (file)
@@ -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>