Re: [B.A.T.M.A.N.] [PATCHv2 1/4] batman-adv: don't switch byte order too often if not needed

Marek Lindner
2013-10-14T11:07:57Z

[-- Attachment #1: Type: text/plain, Size: 470 bytes --]

On Sunday 13 October 2013 02:50:17 Antonio Quartulli wrote:
> From: Antonio Quartulli <antonio@open-mesh.com>
>
> If possible, operations like ntohs/ntohl should not be
> performed too often. Use a variable to locally store the
> converted value and then use it.
>
> Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
> ---
> routing.c | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)

Applied in revision 60087ff (master branch).

Thanks,
Marek

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]