cvs commit: src/sys/netinet raw_ip.c
Robert Watson
rwatson at FreeBSD.org
Tue Aug 26 07:11:49 PDT 2003
rwatson 2003/08/26 07:11:48 PDT
FreeBSD src repository
Modified files:
sys/netinet raw_ip.c
Log:
M_PREPEND() with an argument of M_TRYWAIT can fail, meaning the
returned mbuf can be NULL. Check for NULL in rip_output() when
prepending an IP header. This prevents mbuf exhaustion from
causing a local kernel panic when sending raw IP packets.
PR: kern/55886
Reported by: Pawel Malachowski <pawmal-posting at freebsd.lublin.pl>
MFC after: 3 days
Revision Changes Path
1.115 +2 -0 src/sys/netinet/raw_ip.c
More information about the cvs-src
mailing list