Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/sys/dist/pf/net Pull up revision 1.8 (requested by yamt i...



details:   https://anonhg.NetBSD.org/src/rev/e9b64a067c0b
branches:  netbsd-3
changeset: 576251:e9b64a067c0b
user:      tron <tron%NetBSD.org@localhost>
date:      Fri Jun 17 13:32:39 2005 +0000

description:
Pull up revision 1.8 (requested by yamt in ticket #469):
pf_reassemble: clear stale csum_flags.

diffstat:

 sys/dist/pf/net/pf_norm.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r a1acffdfc8aa -r e9b64a067c0b sys/dist/pf/net/pf_norm.c
--- a/sys/dist/pf/net/pf_norm.c Thu Jun 16 09:53:24 2005 +0000
+++ b/sys/dist/pf/net/pf_norm.c Fri Jun 17 13:32:39 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pf_norm.c,v 1.7 2004/12/04 14:26:01 peter Exp $        */
+/*     $NetBSD: pf_norm.c,v 1.7.10.1 2005/06/17 13:32:39 tron Exp $    */
 /*     $OpenBSD: pf_norm.c,v 1.96 2004/07/17 00:17:27 frantzen Exp $ */
 
 /*
@@ -524,6 +524,9 @@
                for (m2 = m; m2; m2 = m2->m_next)
                        plen += m2->m_len;
                m->m_pkthdr.len = plen;
+#if defined(__NetBSD__)
+               m->m_pkthdr.csum_flags = 0;
+#endif /* defined(__NetBSD__) */
        }
 
        DPFPRINTF(("complete: %p(%d)\n", m, ntohs(ip->ip_len)));



Home | Main Index | Thread Index | Old Index