Skip to contentSkip to conversation

Fix ping issues in linux-user guest

PATCH In review Jing Huang 1 participant 1 message Jul 24, 2012

lore
Share & tools
lore

Jing Huang

author
#0 lore raw

v6 cover Fix ping issues in linux-user guest

The following changes since commit a21143486b9c6d7a50b7b62877c02b3c686943cb:
Merge remote-tracking branch 'stefanha/net' into staging

These patches fix ping issues in linux-user guest:

- do_sebdrecv() could not pass sockaddr to target after executing recvmsg(). Therefore, ping will shows: "64 bytes from 0.0.0.0:
icmp_req=1 ttl=64 time=1.16 ms" for example.

- do_setsockopt() do not support SOL_RAW option which which is used in ping program.

- host_to_target_cmsg() report unsupported ancillary data qemu-log message when cmsg_type equals SO_TIMESTAMP.

Jing.

*** BLURB HERE ***

Jing Huang (3):
linux-user: pass sockaddr from host to target
linux-user: make do_setsockopt support SOL_RAW ICMP_FILTER socket
option
linux-user: make host_to_target_cmsg support SO_TIMESTAMP cmsg_type

 linux-user/syscall.c |   56 +++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 49 insertions(+), 7 deletions(-)
Signature · 1 line
1.7.8.6