Subject: CVS commit: src/sys/dist/ipf/netinet
To: None <source-changes@NetBSD.org>
From: Juergen Hannken-Illjes <hannken@netbsd.org>
List: source-changes
Date: 03/07/2005 13:59:31
Module Name:	src
Committed By:	hannken
Date:		Mon Mar  7 13:59:31 UTC 2005

Modified Files:
	src/sys/dist/ipf/netinet: fil.c

Log Message:
frpr_udpcommon() failed to handle fragmented packets. Packets with less than
8 bytes of data were dropped.

- If the packet is a fragment, return. There is no UDP header in this case.
- Don't set the FI_SHORT flag. Already tested in `frpr_short()'.
- Remove unneeded test `!fin->fin_off'.

Approved by: Christos Zoulas <christos@netbsd.org>


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/sys/dist/ipf/netinet/fil.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.