On Fri, Apr 01, 2016 at 10:48:02AM +0200, Mathias Koehrer wrote: > Hi all, > > the function nfq_udp_compute_checksum_ipv4 (src/extra/udp.c) does not > compute the correct UDP checksum. > The issue is caused by the called function checksum_tcpudp_ipv4() > (src/extra/checksum.c) that uses the hard coded protocol id IPPROTO_TCP > which is fine for TCP but fails for UDP. > A possible solution might be to pass the protocol id (IPPROTO_TCP / > IPPROTOC_UDP) as parameter to the function checksum_tcpudp_ipv4(). > > The very same is also true for the IPv6 versions of these functions. > > Any feedback is welcome. Would you send us a patch to fix this? Thanks! -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html