Source-Changes-HG archive

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

[src/trunk]: src/sys/altq fix IPv4 fragment handling in the classifier.



details:   https://anonhg.NetBSD.org/src/rev/36d467554203
branches:  trunk
changeset: 514751:36d467554203
user:      itojun <itojun%NetBSD.org@localhost>
date:      Mon Sep 10 06:34:57 2001 +0000

description:
fix IPv4 fragment handling in the classifier.
report and fix by "Paul Koster" <list%kosteronline.net@localhost>
sync with kame

diffstat:

 sys/altq/altq_subr.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 0ffbc2af92dc -r 36d467554203 sys/altq/altq_subr.c
--- a/sys/altq/altq_subr.c      Mon Sep 10 06:09:41 2001 +0000
+++ b/sys/altq/altq_subr.c      Mon Sep 10 06:34:57 2001 +0000
@@ -1,5 +1,5 @@
-/*     $NetBSD: altq_subr.c,v 1.5 2001/04/13 23:29:56 thorpej Exp $    */
-/*     $KAME: altq_subr.c,v 1.8 2000/12/14 08:12:46 thorpej Exp $      */
+/*     $NetBSD: altq_subr.c,v 1.6 2001/09/10 06:34:57 itojun Exp $     */
+/*     $KAME: altq_subr.c,v 1.9 2001/09/04 06:31:15 kjc Exp $  */
 
 /*
  * Copyright (C) 1997-2000
@@ -1262,6 +1262,9 @@
 
        fp = ip4f_alloc();
        fp->ip4f_id = ip->ip_id;
+       fp->ip4f_info.fi_proto = ip->ip_p;
+       fp->ip4f_info.fi_src.s_addr = ip->ip_src.s_addr;
+       fp->ip4f_info.fi_dst.s_addr = ip->ip_dst.s_addr;
 
        /* save port numbers */
        fp->ip4f_info.fi_sport = fin->fi_sport;



Home | Main Index | Thread Index | Old Index