git: ipflow: Unroll the first iteration of the hash generation loop.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Jul 9 23:56:39 PDT 2017


commit 9b6ef671f09506d6eb6c4d85f7f783a7252cc01a
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon Jul 10 14:27:06 2017 +0800

    ipflow: Unroll the first iteration of the hash generation loop.
    
    Right shifting 32 bits w/ 32 bits is undefined behaviour.
    
    Reported-by: swildner

Summary of changes:
 sys/netinet/ip_flow.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9b6ef671f09506d6eb6c4d85f7f783a7252cc01a


-- 
DragonFly BSD source repository


More information about the Commits mailing list