Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net rtsock: log dropped messages that we cannot report t...
details: https://anonhg.NetBSD.org/src/rev/d1600f735833
branches: trunk
changeset: 321516:d1600f735833
user: roy <roy%NetBSD.org@localhost>
date: Mon Mar 19 16:34:48 2018 +0000
description:
rtsock: log dropped messages that we cannot report to userland
diffstat:
sys/net/rtsock.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 7b30fb735816 -r d1600f735833 sys/net/rtsock.c
--- a/sys/net/rtsock.c Mon Mar 19 16:32:30 2018 +0000
+++ b/sys/net/rtsock.c Mon Mar 19 16:34:48 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtsock.c,v 1.238 2018/01/25 03:09:05 ozaki-r Exp $ */
+/* $NetBSD: rtsock.c,v 1.239 2018/03/19 16:34:48 roy Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtsock.c,v 1.238 2018/01/25 03:09:05 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtsock.c,v 1.239 2018/03/19 16:34:48 roy Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -2114,6 +2114,7 @@
IFQ_LOCK(&ri->ri_intrq);
if (IF_QFULL(&ri->ri_intrq)) {
+ printf("%s: queue full, dropped message\n", __func__);
IF_DROP(&ri->ri_intrq);
IFQ_UNLOCK(&ri->ri_intrq);
m_freem(m);
Home |
Main Index |
Thread Index |
Old Index