git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update net/ to use sg helpers
[safe/jmp/linux-2.6]
/
net
/
sctp
/
auth.c
diff --git
a/net/sctp/auth.c
b/net/sctp/auth.c
index
7818107
..
cbd64b2
100644
(file)
--- a/
net/sctp/auth.c
+++ b/
net/sctp/auth.c
@@
-726,7
+726,8
@@
void sctp_auth_calculate_hmac(const struct sctp_association *asoc,
/* 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;