default action on corrupt udp packets

2012-03-12 Thread Byron Klippert
I've been looking over sys/src/pf.c but it's not clear to me; what is the default behavior when a udp packet arrives with a bad payload checksum? I'm assuming it is dropped. Also - what are the implications of an un-parenthesized return value? I found a rogue return PF_PASS; within pf.c. Thanks

Re: default action on corrupt udp packets

2012-03-12 Thread Henning Brauer
* Byron Klippert byronklipp...@ml1.net [2012-03-12 07:37]: I've been looking over sys/src/pf.c but it's not clear to me; what is the default behavior when a udp packet arrives with a bad payload checksum? I'm assuming it is dropped. we don't check the protocol checksums for purely forwarded