[lkml]   [2007]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: [PATCH 06/10] [SG] Update net/ to use sg helpers
    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 <>
    net/sctp/sm_make_chunk.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    Index: linux-2.6/net/sctp/sm_make_chunk.c
    --- linux-2.6.orig/net/sctp/sm_make_chunk.c
    +++ linux-2.6/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>

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at
     \ /
      Last update: 2007-10-23 12:47    [W:0.027 / U:42.548 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site