Source-Changes-HG archive

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

[src/netbsd-7]: src/sys/net/npf Pull up following revision(s) (requested by s...



details:   https://anonhg.NetBSD.org/src/rev/345bfddb6a4c
branches:  netbsd-7
changeset: 445480:345bfddb6a4c
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Oct 30 19:52:56 2018 +0000

description:
Pull up following revision(s) (requested by sborrill in ticket #1646):

        sys/net/npf/npf_ctl.c: revision 1.47 (partial, via patch)

- Increase copyin buffer size to 4M

diffstat:

 sys/net/npf/npf_ctl.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 520aca512ebd -r 345bfddb6a4c sys/net/npf/npf_ctl.c
--- a/sys/net/npf/npf_ctl.c     Tue Oct 30 19:49:07 2018 +0000
+++ b/sys/net/npf/npf_ctl.c     Tue Oct 30 19:52:56 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: npf_ctl.c,v 1.38.2.3 2015/06/10 16:57:58 snj Exp $     */
+/*     $NetBSD: npf_ctl.c,v 1.38.2.4 2018/10/30 19:52:56 martin Exp $  */
 
 /*-
  * Copyright (c) 2009-2014 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf_ctl.c,v 1.38.2.3 2015/06/10 16:57:58 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf_ctl.c,v 1.38.2.4 2018/10/30 19:52:56 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -512,7 +512,8 @@
 
        /* Retrieve the dictionary. */
 #ifndef _NPF_TESTING
-       error = prop_dictionary_copyin_ioctl(pref, cmd, &npf_dict);
+       error = prop_dictionary_copyin_ioctl_size(pref, cmd, &npf_dict,
+           4 * 1024 * 1024);
        if (error)
                return error;
 #else



Home | Main Index | Thread Index | Old Index