libnetfilter_queue: fix checksum computation
authorAlin Nastac <alin.nastac@gmail.com>
Mon, 27 Jun 2016 14:10:41 +0000 (16:10 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Mon, 27 Jun 2016 14:10:41 +0000 (16:10 +0200)
commit784bd18690b2cbe2f8e217d840220b4cc216f0bd
tree4e9b21caddd730108933815ad37f41b22293cebf
parent39e0bd76b5dc68c0ae1aad177759f6bf30d8d16e
libnetfilter_queue: fix checksum computation

There are 2 issues fixed by this patch:
  - UDP checksum is computed incorrectly, the used pseudo IP header
    contains transport protocol 6 iso 17
  - on big endian arches the UDP/TCP checksum is incorrectly
    computed when payload length is odd

Signed-off-by: Alin Nastac <alin.nastac@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/libs/libnetfilter-queue/patches/100-checksum_computation.patch [new file with mode: 0644]