OpenBSD cvs log

created 2018-12-04T07:27:54Z
begin 2018-11-28T00:00:00Z
end 2018-11-29T00:00:00Z
path src/sys
commits 1

date 2018-11-28T08:15:29Z
author claudio
files src/sys/netinet/ip_icmp.c log diff annotate
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@