Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet Fix rtcache cannot be released once an esp-fragm...



details:   https://anonhg.NetBSD.org/src/rev/173c913bede3
branches:  trunk
changeset: 451800:173c913bede3
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Wed Jun 05 01:27:20 2019 +0000

description:
Fix rtcache cannot be released once an esp-fragmented packet is sent. Pointed out by ohishi@IIJ, thanks.

diffstat:

 sys/netinet/ip_output.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4b543d1ce2b6 -r 173c913bede3 sys/netinet/ip_output.c
--- a/sys/netinet/ip_output.c   Tue Jun 04 19:49:43 2019 +0000
+++ b/sys/netinet/ip_output.c   Wed Jun 05 01:27:20 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_output.c,v 1.312 2019/05/15 02:59:18 ozaki-r Exp $  */
+/*     $NetBSD: ip_output.c,v 1.313 2019/06/05 01:27:20 knakahara Exp $        */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.312 2019/05/15 02:59:18 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.313 2019/06/05 01:27:20 knakahara Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -777,7 +777,7 @@
                 * processing can occur.
                 */
                if (natt_frag) {
-                       error = ip_output(m, opt, ro,
+                       error = ip_output(m, opt, NULL,
                            flags | IP_RAWOUTPUT | IP_NOIPNEWID,
                            imo, inp);
                } else {



Home | Main Index | Thread Index | Old Index