Summary: | Possible bug in iflib, observed with vmxnet3 driver on ESXI servers | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Shrikanth R K <shrikanth07> | ||||
Component: | kern | Assignee: | Allan Jude <allanjude> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | dpetrov67, net | ||||
Priority: | --- | Flags: | koobs:
mfc-stable13+
koobs: mfc-stable12+ |
||||
Version: | 12.1-RELEASE | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Shrikanth R K
2021-02-13 02:49:55 UTC
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=922cf8ac43adc9983f9a9e05cfd838306c1ef483 commit 922cf8ac43adc9983f9a9e05cfd838306c1ef483 Author: Allan Jude <allanjude@FreeBSD.org> AuthorDate: 2021-02-14 18:39:09 +0000 Commit: Allan Jude <allanjude@FreeBSD.org> CommitDate: 2021-02-16 19:02:00 +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 MFC after: 3 days Reviewed by: markj Sponsored by: Juniper Networks, Inc., Klara, Inc. Differential Revision: https://reviews.freebsd.org/D28667 sys/net/iflib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=18f552e647f556dcbbebc627f534d15172e7b6a3 commit 18f552e647f556dcbbebc627f534d15172e7b6a3 Author: Allan Jude <allanjude@FreeBSD.org> AuthorDate: 2021-02-14 18:39:09 +0000 Commit: Allan Jude <allanjude@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(-) A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=57d2eb8896c2dd9ece7d99415893e2e8a8bfce82 commit 57d2eb8896c2dd9ece7d99415893e2e8a8bfce82 Author: Allan Jude <allanjude@FreeBSD.org> AuthorDate: 2021-02-14 18:39:09 +0000 Commit: Allan Jude <allanjude@FreeBSD.org> CommitDate: 2021-02-19 21:06:15 +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(-) A commit in branch releng/13.0 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=1eb60112b22ea0d61f0d1ba4ac0cca56a0c034c8 commit 1eb60112b22ea0d61f0d1ba4ac0cca56a0c034c8 Author: Allan Jude <allanjude@FreeBSD.org> AuthorDate: 2021-02-14 18:39:09 +0000 Commit: Allan Jude <allanjude@FreeBSD.org> CommitDate: 2021-02-25 20:41:10 +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. Approved by: re (gjb) (cherry picked from commit 922cf8ac43adc9983f9a9e05cfd838306c1ef483) sys/net/iflib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (In reply to commit-hook from comment #4) Allan, should this actually be marked as resolved? Yes, this is resolved, and shipped in 13.0 and 12.3 |