[Bug 264253] hyperv: ifconfig media autoselect on FreeBSD 13.0 displays error: ifconfig: SIOCSIFMEDIA (media): Operation not supported

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 31 Mar 2024 16:57:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264253

--- Comment #9 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

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

commit a26e93052a3897bb55301954dff7e40547d7f291
Author:     Mark Peek <mp@FreeBSD.org>
AuthorDate: 2024-03-13 23:53:07 +0000
Commit:     Mark Peek <mp@FreeBSD.org>
CommitDate: 2024-03-31 16:49:01 +0000

    hyperv/hn: Don't return error when setting media to autoselect

    Setting media to autoselect would always return EOPNOTSUPP.
    As autoselect is the only valid media, this change now returns
    success instead.

    PR:             264253
    Reported by:    Prakash Shiva <prakashs0234@gmail.com>
    Reviewed by:    Dexuan Cui <decui microsoft com>, whu
    Approved by:    whu
    MFC after:      2 weeks

    (cherry picked from commit 63a7c4be4ad524629292eee659d6542f1c5e9c21)

 sys/dev/hyperv/netvsc/if_hn.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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