microsoft / microsoft/demikernel

[pdpix] `demi_pushto()` for TCP Does Not Work with Several LibOSes

Open
#137 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
1.2k
Forks
151
PR merge metrics
No merged PRs in 30d

Description

Description

demi_pushto() for TCP does not work with Catnip, Catcollar and Catpowder.

How to Reproduce

Steps to reproduce the behavior:

  1. Use demi_pushto() on a TCP demi_socket.
  2. Build demikernel with any one of [Catnip|Catcollar|Catpowder].
  3. See error.

Expected Behavior

There should be no error. TCP communication should work fine.

Alternative Solution

  1. Check if the peer IP is what we have already connected to.
  2. Return Not Supported for TCP sockets.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the demi_pushto() implementation for TCP sockets and reproduce the error using Catnip, Catcollar, and Catpowder as described. Done means TCP communication succeeds without an error, or the implementation explicitly returns Not Supported for TCP sockets if the peer-IP check cannot be supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.