Hello everyone,
I just hit Bug 185967 (Link Aggregation LAGG: LACP not working in 10.0).
Comment 6 in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185967 do offer the following patch to correct the problem
But I have no idea on how to apply it.
I guess that I need to copy the text into a file on my FreeBSD server but I don't know what file extension to give it or how to run it.
is
, the file name?
Could someone advise please
Thank you
I just hit Bug 185967 (Link Aggregation LAGG: LACP not working in 10.0).
Comment 6 in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185967 do offer the following patch to correct the problem
Code:
Index: ieee8023ad_lacp.c
===================================================================
--- ieee8023ad_lacp.c (revision 261432)
+++ ieee8023ad_lacp.c (working copy)
@@ -192,6 +192,11 @@
SYSCTL_INT(_net_link_lagg_lacp, OID_AUTO, debug, CTLFLAG_RW | CTLFLAG_TUN,
&lacp_debug, 0, "Enable LACP debug logging (1=debug, 2=trace)");
TUNABLE_INT("net.link.lagg.lacp.debug", &lacp_debug);
+static int lacp_strict = 0;
+SYSCTL_INT(_net_link_lagg_lacp, OID_AUTO, lacp_strict_mode,
+ CTLFLAG_RW | CTLFLAG_TUN, &lacp_strict, 0,
+ "Enable LACP strict protocol compliance");
+TUNABLE_INT("net.link.lagg.lacp.lacp_strict_mode", &lacp_strict);
#define LACP_DPRINTF(a) if (lacp_debug & 0x01) { lacp_dprintf a ; }
#define LACP_TRACE(a) if (lacp_debug & 0x02) { lacp_dprintf(a,"%s\n",__func__); }
@@ -791,7 +796,7 @@
lsc->lsc_hashkey = arc4random();
lsc->lsc_active_aggregator = NULL;
- lsc->lsc_strict_mode = 1;
+ lsc->lsc_strict_mode = lacp_strict;
LACP_LOCK_INIT(lsc);
TAILQ_INIT(&lsc->lsc_aggregators);
LIST_INIT(&lsc->lsc_ports);
I guess that I need to copy the text into a file on my FreeBSD server but I don't know what file extension to give it or how to run it.
is
Code:
Index: ieee8023ad_lacp.c
Could someone advise please
Thank you