commit | fa05f1286be25a8ce915c5dd492aea61126b3f33 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Mon Oct 22 19:44:26 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Mon Oct 22 21:19:56 2007 +0200 |
tree | 07d6d32733f3272d588410a64c0cfa25d794e3be | |
parent | 60c74f81933635bb4ccb4ee6f31909c51f5cd230 [diff] [blame] |
Update net/ to use sg helpers Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/net/sctp/auth.c b/net/sctp/auth.c index 7818107..cbd64b2 100644 --- a/net/sctp/auth.c +++ b/net/sctp/auth.c
@@ -726,7 +726,8 @@ /* set up scatter list */ end = skb_tail_pointer(skb); - sg.page = virt_to_page(auth); + sg_init_table(&sg, 1); + sg_set_page(&sg, virt_to_page(auth)); sg.offset = (unsigned long)(auth) % PAGE_SIZE; sg.length = end - (unsigned char *)auth;