Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F170661155
D25284.id73144.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D25284.id73144.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D25284: lagg: Avoid adding a port to a lagg device being destroyed.
Attached
Detach File
Event Timeline
Log In to Comment