https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253473

--- Comment #2 from commit-h...@freebsd.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=18f552e647f556dcbbebc627f534d15172e7b6a3

commit 18f552e647f556dcbbebc627f534d15172e7b6a3
Author:     Allan Jude <allanj...@freebsd.org>
AuthorDate: 2021-02-14 18:39:09 +0000
Commit:     Allan Jude <allanj...@freebsd.org>
CommitDate: 2021-02-19 20:39:16 +0000

    Use iflib_if_init_locked() during media change instead of
iflib_init_locked().

    iflib_init_locked() assumes that iflib_stop() has been called, however,
    it is not called for media changes.
    iflib_if_init_locked() calls stop then init, so fixes the problem.

    PR:     253473
    Sponsored by:   Juniper Networks, Inc., Klara, Inc.

    (cherry picked from commit 922cf8ac43adc9983f9a9e05cfd838306c1ef483)

 sys/net/iflib.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to