All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vlad Yasevich <vladislav.yasevich@hp.com>
To: linux-sctp@vger.kernel.org
Subject: Re: [PATCH] SCTP: remove useless function sctp_auth_asoc_get_hmac()
Date: Thu, 10 Apr 2008 12:55:03 +0000	[thread overview]
Message-ID: <47FE0E27.9070807@hp.com> (raw)
In-Reply-To: <47F33EAE.3000408@cn.fujitsu.com>

David Miller wrote:
> From: Wei Yongjun <yjwei@cn.fujitsu.com>
> Date: Wed, 02 Apr 2008 16:07:10 +0800
> 
>> Since we have do a strict check of HMAC-ALGO parameter while establish 
>> the association, the function sctp_auth_asoc_get_hmac() become useless.
>>
>> This patch remove function sctp_auth_asoc_get_hmac().
>>
>> Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
> 
> After your change nothing uses the default_hmac_id any longer.
> 
> Surely it is useful for some purpose?
> 

Hi David

Yes, it is still useful and still used in the patch

> +    hmac_desc = sctp_auth_get_hmac(asoc->default_hmac_id); 

However, this patch depends on another patch:

[SCTP]: Add check for hmac_algo parameter in sctp_verify_param()

That I have queued and was verifying along with some others.

I'll send them out today.

-vlad

      parent reply	other threads:[~2008-04-10 12:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-02  8:07 [PATCH] SCTP: remove useless function sctp_auth_asoc_get_hmac() Wei Yongjun
2008-04-10 10:26 ` David Miller
2008-04-10 12:55 ` Vlad Yasevich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47FE0E27.9070807@hp.com \
    --to=vladislav.yasevich@hp.com \
    --cc=linux-sctp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.