Module Name:    src
Committed By:   bouyer
Date:           Sat Apr  4 15:47:28 UTC 2009

Modified Files:
        src/sys/net: if_bridge.c

Log Message:
Fix a comment, and make it build.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/net/if_bridge.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/net/if_bridge.c
diff -u src/sys/net/if_bridge.c:1.66 src/sys/net/if_bridge.c:1.67
--- src/sys/net/if_bridge.c:1.66	Sat Apr  4 15:31:47 2009
+++ src/sys/net/if_bridge.c	Sat Apr  4 15:47:28 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_bridge.c,v 1.66 2009/04/04 15:31:47 bouyer Exp $	*/
+/*	$NetBSD: if_bridge.c,v 1.67 2009/04/04 15:47:28 bouyer Exp $	*/
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -80,7 +80,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.66 2009/04/04 15:31:47 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bridge.c,v 1.67 2009/04/04 15:47:28 bouyer Exp $");
 
 #include "opt_bridge_ipf.h"
 #include "opt_inet.h"
@@ -92,6 +92,7 @@
 #include <sys/mbuf.h>
 #include <sys/queue.h>
 #include <sys/socket.h>
+#include </sys/socketvar.h> /* for softnet_lock */
 #include <sys/sockio.h>
 #include <sys/systm.h>
 #include <sys/proc.h>
@@ -1460,7 +1461,7 @@
  *
  *	Receive input from a member interface.  Queue the packet for
  *	bridging if it is not for us.
- *	should be called at splbio()
+ *	should be called at splnet()
  */
 struct mbuf *
 bridge_input(struct ifnet *ifp, struct mbuf *m)

Reply via email to