Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src/sys/rump/net/lib/libshmif



Module Name:    src
Committed By:   martin
Date:           Thu Oct  3 16:19:59 UTC 2024

Modified Files:
        src/sys/rump/net/lib/libshmif [netbsd-10]: if_shmem.c

Log Message:
Pull up following revision(s) (requested by rin in ticket #924):

        sys/rump/net/lib/libshmif/if_shmem.c: revision 1.89

shmif: Fix logics for media change and status

- shmif_mediachange: Drop check for if_link_state. Otherwise,
   there can be race b/w events in if_link_queue.
- shmif_mediastatus: Set ifm_status appropriately, by which
   link state appears in ifconfig(8) "status:" line.

Pointed out by roy@, and taken from his codes in vether(4). Thanks!!


To generate a diff of this commit:
cvs rdiff -u -r1.84.4.2 -r1.84.4.3 src/sys/rump/net/lib/libshmif/if_shmem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index