Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Add missing return
details: https://anonhg.NetBSD.org/src/rev/21cc06b71135
branches: trunk
changeset: 818204:21cc06b71135
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Mon Oct 03 07:13:29 2016 +0000
description:
Add missing return
diffstat:
sys/net/if_fddisubr.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 16000c1d1f3b -r 21cc06b71135 sys/net/if_fddisubr.c
--- a/sys/net/if_fddisubr.c Mon Oct 03 01:23:55 2016 +0000
+++ b/sys/net/if_fddisubr.c Mon Oct 03 07:13:29 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_fddisubr.c,v 1.100 2016/08/01 03:15:30 ozaki-r Exp $ */
+/* $NetBSD: if_fddisubr.c,v 1.101 2016/10/03 07:13:29 ozaki-r Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -96,7 +96,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_fddisubr.c,v 1.100 2016/08/01 03:15:30 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_fddisubr.c,v 1.101 2016/10/03 07:13:29 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_gateway.h"
@@ -583,8 +583,9 @@
}
#endif
#if defined(NETATALK)
- if (!inq) {
+ if (inq == NULL) {
m_freem(m);
+ return;
}
s = splnet();
if (IF_QFULL(inq)) {
Home |
Main Index |
Thread Index |
Old Index