HomeFreeBSD

MFC r324098:

Description

MFC r324098:

Some mbuf related fixes in icmp_error()

* check mbuf length before doing mtod() and accessing to IP header;
* update oip pointer and all depending pointers after m_pullup();
* remove extra checks and extra parentheses, wrap long lines;

PR:		[[ https://bugs.freebsd.org/222670 | 222670 ]]

Details

Provenance
aeAuthored on
Parents
rS324425: illumos mutex_init: use SX_NEW instead of bzero
Branches
Unknown
Tags
Unknown