Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/netinet/udp_usrreq.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/netinet/udp_usrreq.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.75.2.2 retrieving revision 1.83.2.1 diff -u -p -r1.75.2.2 -r1.83.2.1 --- src/sys/netinet/udp_usrreq.c 2001/08/24 00:12:33 1.75.2.2 +++ src/sys/netinet/udp_usrreq.c 2001/10/01 12:47:50 1.83.2.1 @@ -1,4 +1,4 @@ -/* $NetBSD: udp_usrreq.c,v 1.75.2.2 2001/08/24 00:12:33 nathanw Exp $ */ +/* $NetBSD: udp_usrreq.c,v 1.83.2.1 2001/10/01 12:47:50 fvdl Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -284,7 +284,7 @@ udp_input(m, va_alist) */ if (uh->uh_sum) { switch (m->m_pkthdr.csum_flags & - ((m->m_pkthdr.rcvif->if_csum_flags & M_CSUM_UDPv4) | + ((m->m_pkthdr.rcvif->if_csum_flags_rx & M_CSUM_UDPv4) | M_CSUM_TCP_UDP_BAD | M_CSUM_DATA)) { case M_CSUM_UDPv4|M_CSUM_TCP_UDP_BAD: UDP_CSUM_COUNTER_INCR(&udp_hwcsum_bad);