CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2018/11/28 01:15:29
Modified files: sys/netinet : ip_icmp.c Log message: Further cleanup of icmp_do_error. - Use m_align() since it handles all cases - Use same rounding logic in the size check as in m_align() so all data will filt always. - consolidate pkthdr initalisation into one place - use m_prepend() instead of direct pointer manipulation (including the panic in case an underflow happens). OK bluhm@