cvs commit: src/sys/netinet ip_fw2.c
dwmalone at FreeBSD.org
Sun Dec 9 07:35:09 PST 2007
dwmalone 2007-12-09 15:35:09 UTC
FreeBSD src repository
If we are walking the IPv6 header chain and we hit an IPPROTO_NONE
header, then don't try to pullup anything, because there is no next
header if we hit IPPROTO_NONE. Set ulp to a non-NULL value so the
search for an upper layer header terinates.
This is based on Pekka's diagnosis, but I chose a simpler fix.
Submitted by: Pekka Savola <pekkas at netcore.fi>
Reviewed by: mlaier
MFC after: 2 weeks
Revision Changes Path
1.179 +6 -3 src/sys/netinet/ip_fw2.c
More information about the cvs-all