Apply patch from PR kern/44369 by Wolfgang Stukenbrock.

This commit is contained in:
pooka 2011-01-11 10:52:42 +00:00
parent 68e1e43ec7
commit 8d1e86d12d

View File

@ -1,4 +1,4 @@
/* $NetBSD: raw_usrreq.c,v 1.35 2008/05/29 17:26:56 dyoung Exp $ */
/* $NetBSD: raw_usrreq.c,v 1.36 2011/01/11 10:52:42 pooka Exp $ */
/*
* Copyright (c) 1980, 1986, 1993
@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: raw_usrreq.c,v 1.35 2008/05/29 17:26:56 dyoung Exp $");
__KERNEL_RCSID(0, "$NetBSD: raw_usrreq.c,v 1.36 2011/01/11 10:52:42 pooka Exp $");
#include <sys/param.h>
#include <sys/mbuf.h>
@ -276,7 +276,8 @@ raw_usrreq(struct socket *so, int req, struct mbuf *m, struct mbuf *nam,
/*
* stat: don't bother with a blocksize.
*/
return (0);
error = 0;
break;
/*
* Not supported.