[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130207.234520.1493484945207262693.davem@davemloft.net>
Date: Thu, 07 Feb 2013 23:45:20 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dborkman@...hat.com
Cc: vyasevich@...il.com, linux-sctp@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: sctp: sctp_auth_make_key_vector: remove
duplicate ntohs calls
From: Daniel Borkmann <dborkman@...hat.com>
Date: Thu, 7 Feb 2013 12:41:39 +0100
> Instead of calling 3 times ntohs(random->param_hdr.length), 2 times
> ntohs(hmacs->param_hdr.length), and 3 times ntohs(chunks->param_hdr.length)
> within the same function, we only call each once and store it in a
> variable.
>
> Signed-off-by: Daniel Borkmann <dborkman@...hat.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists