Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9baffaa689a50ef9480ecd9017ffd1480c807328
Commit:     9baffaa689a50ef9480ecd9017ffd1480c807328
Parent:     fd10279bc7405c4f1e47a008686d3d9ad71d7f6d
Author:     Vlad Yasevich <[EMAIL PROTECTED]>
AuthorDate: Thu Nov 29 08:44:34 2007 -0500
Committer:  Vlad Yasevich <[EMAIL PROTECTED]>
CommitDate: Thu Nov 29 10:17:41 2007 -0500

    SCTP: Fix SCTP-AUTH to correctly add HMACS paramter.
    
    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 <[EMAIL PROTECTED]>
---
 net/sctp/sm_make_chunk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c
index 5a9783c..a139469 100644
--- 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_hmacs = NULL;
+                       auth_chunks = NULL;
 
                extensions[num_ext] = SCTP_CID_AUTH;
                num_ext += 1;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to