[Bug 277286] Linuxulator awaiting acceptance

2024-03-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277286

Gleb Smirnoff  changed:

   What|Removed |Added

 Status|New |Closed
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277286] Linuxulator awaiting acceptance

2024-03-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277286

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

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

commit db4429d00f0d95a1532f8707f8b828a744586dc7
Author: Gleb Smirnoff 
AuthorDate: 2024-03-03 20:56:58 +
Commit: Gleb Smirnoff 
CommitDate: 2024-03-11 16:12:36 +

linux: require vnet(9) context in ifname_bsd_to_linux_name()

This function is used by netlink(9) only.  The netlink(9) taskqueue thread
runs in the vnet of the socket whose request the thread is processing
right now.  This is a correct vnet and resetting it to vnet0 is incorrect.
If the function is to be used by any other caller in addition to
netlink(9), it would be caller's responsiblity to provide correct vnet(9).

Reviewed by:melifaro, dchagin
Differential Revision:  https://reviews.freebsd.org/D44191
PR: 277286

(cherry picked from commit 2f5a315b307447f91891c96fb23c7333fa406f2f)

 sys/compat/linux/linux.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277286] Linuxulator awaiting acceptance

2024-03-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277286

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

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

commit f45ecf5fe4076fac300cd1e2e93877ff1762c93a
Author: Gleb Smirnoff 
AuthorDate: 2024-03-03 20:56:58 +
Commit: Gleb Smirnoff 
CommitDate: 2024-03-11 16:11:56 +

linux: require vnet(9) context in ifname_bsd_to_linux_name()

This function is used by netlink(9) only.  The netlink(9) taskqueue thread
runs in the vnet of the socket whose request the thread is processing
right now.  This is a correct vnet and resetting it to vnet0 is incorrect.
If the function is to be used by any other caller in addition to
netlink(9), it would be caller's responsiblity to provide correct vnet(9).

Reviewed by:melifaro, dchagin
Differential Revision:  https://reviews.freebsd.org/D44191
PR: 277286

(cherry picked from commit 2f5a315b307447f91891c96fb23c7333fa406f2f)

 sys/compat/linux/linux.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277286] Linuxulator awaiting acceptance

2024-03-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277286

--- Comment #3 from k.muso...@gmail.com ---
(In reply to Gleb Smirnoff from comment #1)
Awesome!!! Works great. Thanks a lot Gleb.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277286] Linuxulator awaiting acceptance

2024-03-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277286

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

URL:
https://cgit.FreeBSD.org/src/commit/?id=2f5a315b307447f91891c96fb23c7333fa406f2f

commit 2f5a315b307447f91891c96fb23c7333fa406f2f
Author: Gleb Smirnoff 
AuthorDate: 2024-03-03 20:56:58 +
Commit: Gleb Smirnoff 
CommitDate: 2024-03-03 20:56:58 +

linux: require vnet(9) context in ifname_bsd_to_linux_name()

This function is used by netlink(9) only.  The netlink(9) taskqueue thread
runs in the vnet of the socket whose request the thread is processing
right now.  This is a correct vnet and resetting it to vnet0 is incorrect.
If the function is to be used by any other caller in addition to
netlink(9), it would be caller's responsiblity to provide correct vnet(9).

Reviewed by:melifaro, dchagin
Differential Revision:  https://reviews.freebsd.org/D44191
PR: 277286

 sys/compat/linux/linux.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277286] Linuxulator awaiting acceptance

2024-03-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277286

--- Comment #1 from Gleb Smirnoff  ---
Created attachment 248865
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248865&action=edit
ifname_bsd_to_linux_name.diff

Konstantin, please try to apply this patch to your FreeBSD 13.2 or
FreeBSD 13.3 and see if it resurrects the application.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277286] Linuxulator awaiting acceptance

2024-02-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277286

Mark Linimon  changed:

   What|Removed |Added

   Assignee|n...@freebsd.org |emulat...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.