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:   ozaki-r
Date:           Tue Aug 20 08:16:22 UTC 2024

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

Log Message:
shmif: change behaviors about link states

- Change the link state to UP on ifconfig linkstr
  - This behavior emulates physical devices
- Change the link state to UNKNOWN on ifconfig -linkstr just in case
- Reject sending/receiving packets if the link state is DOWN
  - Permit to send/receive packets on UNKNOWN, which is required
    to unbreak some ATF tests written in C


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 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