CVSROOT: /cvs Module name: src Changes by: r...@cvs.openbsd.org 2018/10/10 05:46:59
Modified files: sys/netinet : ip_mroute.c sys/netinet6 : ip6_mroute.c ip6_var.h usr.sbin/snmpd : kroute.c Log message: RT_TABLEID_MAX is 255, fix places that assumed that it is less than 255. rtable 255 is a valid routing table or domain id that wasn't handled by the ip[6]_mroute code or by snmpd. The arrays in the ip[6]_mroute code where off by one and didn't allocate space for rtable 255; snmpd simply ignored rtable 255. All other places in the tree seem to handle RT_TABLEID_MAX correctly. OK florian@ benno@ henning@ deraadt@