projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd10279
)
SCTP: Fix SCTP-AUTH to correctly add HMACS paramter.
author
Vlad Yasevich
<vladislav.yasevich@hp.com>
Thu, 29 Nov 2007 13:44:34 +0000
(08:44 -0500)
committer
Vlad Yasevich
<vladislav.yasevich@hp.com>
Thu, 29 Nov 2007 15:17:41 +0000
(10:17 -0500)
There was a typo that cleared the HMACS parameters when no
authenticated chunks were specified. We whould be clearing
the chunks pointer instead of the hmacs.
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
net/sctp/sm_make_chunk.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sctp/sm_make_chunk.c
b/net/sctp/sm_make_chunk.c
index 5a9783c38de160c40d66894dbefab7b6e4c76f1c..a139469792a30b08ce15ed95d850c9deb1f272fa 100644
(file)
--- a/
net/sctp/sm_make_chunk.c
+++ b/
net/sctp/sm_make_chunk.c
@@
-243,7
+243,7
@@
struct sctp_chunk *sctp_make_init(const struct sctp_association *asoc,
if (auth_chunks->length)
chunksize += ntohs(auth_chunks->length);
else
- auth_
hmac
s = NULL;
+ auth_
chunk
s = NULL;
extensions[num_ext] = SCTP_CID_AUTH;
num_ext += 1;