Page MenuHomeFreeBSD

D25284.id73144.diff
No OneTemporary

D25284.id73144.diff

Index: sys/net/if_lagg.c
===================================================================
--- sys/net/if_lagg.c
+++ sys/net/if_lagg.c
@@ -679,6 +679,9 @@
return (EINVAL);
}
+ if (sc->sc_destroying == 1)
+ return (ENXIO);
+
/* Limit the maximal number of lagg ports */
if (sc->sc_count >= LAGG_MAX_PORTS)
return (ENOSPC);
Index: tests/sys/net/if_lagg_test.sh
===================================================================
--- tests/sys/net/if_lagg_test.sh
+++ tests/sys/net/if_lagg_test.sh
@@ -139,8 +139,6 @@
{
local TAP0 TAP1 LAGG MAC
- atf_skip "Skipping this test because it easily panics the machine"
-
TAP0=`get_tap`
TAP1=`get_tap`
TAP2=`get_tap`
@@ -193,10 +191,6 @@
}
lacp_linkstate_destroy_stress_body()
{
- if [ "$(atf_config_get ci false)" = "true" ]; then
- atf_skip "https://bugs.freebsd.org/244168"
- fi
-
local TAP0 TAP1 LAGG MAC SRCDIR
# Configure the lagg interface to use an RFC5737 nonrouteable addresses
@@ -258,8 +252,6 @@
{
local TAP0 TAP1 LAGG MAC SRCDIR
- atf_skip "Skipping this test because it panics the machine fairly often"
-
# Configure the lagg interface to use an RFC5737 nonrouteable addresses
ADDR="192.0.2.2"
MASK="24"

File Metadata

Mime Type
text/plain
Expires
Sun, Sep 6, 9:17 PM (6 m, 2 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38370156
Default Alt Text
D25284.id73144.diff (1 KB)

Event Timeline