Re: [RFC PATCH 1/4] netfilter: ip6t_NPT: Fix checksuming.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 27, 2013 at 03:37:48AM +0900, YOSHIFUJI Hideaki wrote:
> Cast __wsum from/to __sum16 is wrong.  Instead, apply appropriate
> conversion function: csum_unfold() or csum_fold().

Applied.

I have mangled this patch by collapsing Ulrich's:

http://patchwork.ozlabs.org/patch/216563/

And I have added this to the description:

    [ The original patch has been modified to undo the final ~ that
      csum_fold returns. We only need to fold the 32-bit word that
      results from the checksum calculation into a 16-bit to ensure
      that the original subnet is restored appropriately. Spotted by
      Ulrich Weber. ]

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux