Source-Changes archive

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

CVS commit: src/sys/rump/net/lib/libshmif



Module Name:    src
Committed By:   rin
Date:           Tue Oct  1 08:55:58 UTC 2024

Modified Files:
        src/sys/rump/net/lib/libshmif: if_shmem.c

Log Message:
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.88 -r1.89 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