summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblambert <blambert@openbsd.org>2008-06-26 23:56:26 +0000
committerblambert <blambert@openbsd.org>2008-06-26 23:56:26 +0000
commit1ee6512080b630edb64ab78e9cb3da81f8f0c326 (patch)
tree71064bee9de59012d966df4001ab140c5731d48a
parentadd bio & bioctl (diff)
downloadwireguard-openbsd-1ee6512080b630edb64ab78e9cb3da81f8f0c326.tar.xz
wireguard-openbsd-1ee6512080b630edb64ab78e9cb3da81f8f0c326.zip
Label switch statement with /* FALLTHROUGH */; inspired by two
wasted hours tracking down a phantom mbuf leak. ok thib@
-rw-r--r--sys/nfs/nfs_syscalls.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/nfs/nfs_syscalls.c b/sys/nfs/nfs_syscalls.c
index c1367013e58..7a4ba672043 100644
--- a/sys/nfs/nfs_syscalls.c
+++ b/sys/nfs/nfs_syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_syscalls.c,v 1.66 2008/06/14 19:33:58 beck Exp $ */
+/* $OpenBSD: nfs_syscalls.c,v 1.67 2008/06/26 23:56:26 blambert Exp $ */
/* $NetBSD: nfs_syscalls.c,v 1.19 1996/02/18 11:53:52 fvdl Exp $ */
/*
@@ -426,6 +426,8 @@ nfssvc_nfsd(nsd, argp, p)
nfsstats.srvrpccnt[nd->nd_procnum]++;
nfsrv_updatecache(nd, TRUE, mreq);
nd->nd_mrep = (struct mbuf *)0;
+
+ /* FALLTHROUGH */
case RC_REPLY:
m = mreq;
siz = 0;