aboutsummaryrefslogtreecommitdiff
path: root/sys/net/ieee8023ad_lacp.h
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2014-09-26 08:42:32 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2014-09-26 08:42:32 +0000
commit09c7577ef3fb45d931240d5cdd0200d8901c0a54 (patch)
tree88eb2014d5a32caf3a0a1377adeb22656fa74c77 /sys/net/ieee8023ad_lacp.h
parentcd8d304e79b1112390d85ea2529f25ab3882b79a (diff)
downloadsrc-09c7577ef3fb45d931240d5cdd0200d8901c0a54.tar.gz
src-09c7577ef3fb45d931240d5cdd0200d8901c0a54.zip
- When reconfiguring protocol on a lagg, first set it to LAGG_PROTO_NONE,
then drop lock, run the attach routines, and then set it to specific proto. This removes tons of WITNESS warnings. - Make lagg protocol attach handlers not failing and allocate memory with M_WAITOK. Sponsored by: Netflix Sponsored by: Nginx, Inc.
Notes
Notes: svn path=/head/; revision=272161
Diffstat (limited to 'sys/net/ieee8023ad_lacp.h')
-rw-r--r--sys/net/ieee8023ad_lacp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/ieee8023ad_lacp.h b/sys/net/ieee8023ad_lacp.h
index 64ca76831c5b..6f5f7227a8ff 100644
--- a/sys/net/ieee8023ad_lacp.h
+++ b/sys/net/ieee8023ad_lacp.h
@@ -282,8 +282,8 @@ struct lacp_softc {
struct mbuf *lacp_input(struct lagg_port *, struct mbuf *);
struct lagg_port *lacp_select_tx_port(struct lagg_softc *, struct mbuf *);
-int lacp_attach(struct lagg_softc *);
-void lacp_detach(struct lagg_softc *);
+void lacp_attach(struct lagg_softc *);
+void lacp_detach(void *);
void lacp_init(struct lagg_softc *);
void lacp_stop(struct lagg_softc *);
int lacp_port_create(struct lagg_port *);