summaryrefslogtreecommitdiff
path: root/sys/net/if_bridge.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2010-10-28 13:49:55 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2010-10-28 13:49:55 +0000
commit24c64c90c25711433236441e0509ebae8231f426 (patch)
tree13294cc6904c6ef8dbd7449ed5f236e9172a0235 /sys/net/if_bridge.h
parentaa110b956fdc2a8f219a61129ab1da128cad8900 (diff)
A function that only returns NULL should return void.
bstp_input() always consumes the packet so remove the mbuf handling dance around it.
Diffstat (limited to 'sys/net/if_bridge.h')
-rw-r--r--sys/net/if_bridge.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_bridge.h b/sys/net/if_bridge.h
index 546fd346e3c..1c77c842511 100644
--- a/sys/net/if_bridge.h
+++ b/sys/net/if_bridge.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bridge.h,v 1.31 2006/12/11 22:11:48 reyk Exp $ */
+/* $OpenBSD: if_bridge.h,v 1.32 2010/10/28 13:49:54 claudio Exp $ */
/*
* Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net)
@@ -446,7 +446,7 @@ void bstp_stop(struct bstp_state *);
int bstp_ioctl(struct ifnet *, u_long, caddr_t);
struct bstp_port *bstp_add(struct bstp_state *, struct ifnet *);
void bstp_delete(struct bstp_port *);
-struct mbuf *bstp_input(struct bstp_state *, struct bstp_port *,
+void bstp_input(struct bstp_state *, struct bstp_port *,
struct ether_header *, struct mbuf *);
void bstp_ifstate(void *);
u_int8_t bstp_getstate(struct bstp_state *, struct bstp_port *);