projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[CRYPTO] users: Fix up scatterlist conversion errors
[deliverable/linux.git]
/
net
/
sctp
/
auth.c
diff --git
a/net/sctp/auth.c
b/net/sctp/auth.c
index c9dbc3afa99f0dc0d86896f48d77990f9518835e..8af1004abefeb885a6ee10f4a12c2c939551e468 100644
(file)
--- a/
net/sctp/auth.c
+++ b/
net/sctp/auth.c
@@
-726,8
+726,7
@@
void sctp_auth_calculate_hmac(const struct sctp_association *asoc,
/* set up scatter list */
end = skb_tail_pointer(skb);
- sg_init_table(&sg, 1);
- sg_set_buf(&sg, auth, end - (unsigned char *)auth);
+ sg_init_one(&sg, auth, end - (unsigned char *)auth);
desc.tfm = asoc->ep->auth_hmacs[hmac_id];
desc.flags = 0;
This page took
0.02699 seconds
and
5
git commands to generate.