Source-Changes-HG archive

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

src: Add XXX, using a pool would be better than kmem.



details:   https://anonhg.NetBSD.org/src/rev/e40a1c9a03f9
branches:  trunk
changeset: 318142:e40a1c9a03f9
user:      maxv <maxv%NetBSD.org@localhost>
date:      Fri Apr 13 11:19:09 2018 +0000
description:
Add XXX, using a pool would be better than kmem.

diffstat:

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

diffs (27 lines):

diff -r de359c56420a -r e40a1c9a03f9 sys/netinet6/frag6.c
--- a/sys/netinet6/frag6.c      Fri Apr 13 11:18:08 2018 +0000
+++ b/sys/netinet6/frag6.c      Fri Apr 13 11:19:09 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: frag6.c,v 1.69 2018/04/13 11:18:08 maxv Exp $  */
+/*     $NetBSD: frag6.c,v 1.70 2018/04/13 11:19:09 maxv Exp $  */
 /*     $KAME: frag6.c,v 1.40 2002/05/27 21:40:31 itojun Exp $  */
 
 /*
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: frag6.c,v 1.69 2018/04/13 11:18:08 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: frag6.c,v 1.70 2018/04/13 11:19:09 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -150,6 +150,8 @@
  *             -> should grab it from the first fragment only
  *
  * There is no explicit reason given in the RFC.  Historical reason maybe?
+ *
+ * XXX: It would be better to use a pool, rather than kmem.
  */
 int
 frag6_input(struct mbuf **mp, int *offp, int proto)



Home | Main Index | Thread Index | Old Index