Module Name: src Committed By: maxv Date: Fri Apr 13 09:29:04 UTC 2018
Modified Files: src/sys/netinet: udp_usrreq.c Log Message: Improve the check, we want to have len >= udphdr all the time, and not just when the packet size doesn't match the mbuf size. Normally that's not a huge problem, since IP6_EXTHDR_GET gets called earlier, so we can't have (ip_len == iphlen + len) && (len < sizeof(struct udphdr)) To generate a diff of this commit: cvs rdiff -u -r1.247 -r1.248 src/sys/netinet/udp_usrreq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.