Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/net Allocate and initialize the vector for com...



details:   https://anonhg.NetBSD.org/src/rev/4c741cf42118
branches:  pgoyette-compat
changeset: 320965:4c741cf42118
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue Mar 06 23:46:14 2018 +0000

description:
Allocate and initialize the vector for compat_ifconf()

diffstat:

 sys/net/if.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 0720dbe45efb -r 4c741cf42118 sys/net/if.c
--- a/sys/net/if.c      Tue Mar 06 23:39:35 2018 +0000
+++ b/sys/net/if.c      Tue Mar 06 23:46:14 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.c,v 1.419.2.1 2018/03/06 05:46:06 pgoyette Exp $    */
+/*     $NetBSD: if.c,v 1.419.2.2 2018/03/06 23:46:14 pgoyette Exp $    */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.419.2.1 2018/03/06 05:46:06 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.419.2.2 2018/03/06 23:46:14 pgoyette Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -265,6 +265,8 @@
 void (*vec_compat_ifreqo2n)(struct oifreq *, struct ifreq *) =
     stub_compat_ifreqo2n;
 
+int (*vec_compat_ifconf)(u_long, void *) = stub_compat_ifconf;
+
 int stub_compat_ifconf(u_long, void *);
 int (*vec_compat_ifconf)(u_long, void *) = stub_compat_ifconf;
 



Home | Main Index | Thread Index | Old Index