mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
The checksum is optional for UDP packets. However nf_reject would previously require a valid checksum to elicit a response such as ICMP_DEST_UNREACH. Add some logic to nf_reject_verify_csum to determine if a UDP packet has a zero checksum and should therefore not be verified. Signed-off-by: Kevin Mitchell <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>