Skip to content
  • Jiri Bohac's avatar
    [IA64] fix csum_ipv6_magic() · 5afe18d2
    Jiri Bohac authored
    
    
    The 32-bit parameters (len and csum) of csum_ipv6_magic() are passed in 64-bit
    registers in2 and in4. The high order 32 bits of the registers were never
    cleared, and garbage was sometimes calculated into the checksum.
    
    Fix this by clearing the high order 32 bits of these registers.
    
    Signed-off-by: default avatarJiri Bohac <jbohac@suse.cz>
    Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
    5afe18d2