Commit b985444
fix(vsock): remove unimplemented DGRAM feature advertisement
Remove VIRTIO_VSOCK_F_DGRAM from advertised features since DGRAM
support is not yet implemented. The current code rejects DGRAM
packets with RST (line 647-650), so advertising the feature would
mislead guests into thinking DGRAM is supported.
Also suppress dead_code warnings for TSO constants that are reserved
for future implementation.
This prevents guests from attempting to use DGRAM sockets and
receiving unexpected RST responses.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent ca44c69 commit b985444
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
0 commit comments