CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2014/11/20 04:05:19
Modified files: sys/netinet : ip_input.c tcp_input.c udp_usrreq.c sys/netinet6 : ip6_input.c Log message: In TCP and UDP layers do not (ab)use the receiving interface to check for a multicast/broadcast destination address. These checks have already been done in the Ethernet and IP layers and the mbuf(9) should contain all the required information at this point. But since we cannot trust this spaghetti stack, be paranoid and make sure to set the flags in the IP input routines. Use explicit comments, requested by deraadt@. ok claudio@