mirror of
https://github.com/torvalds/linux.git
synced 2026-11-23 23:11:40 +00: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]>