Skip to content

Socket error registration and processing #963

@cavivie

Description

@cavivie

ICMP should register the error to the corresponding socket when it finds an error likes an unreachable address error. Currently, there is no error handling bound to the socket. In the Linux kernel, this is done by calling back the corresponding socket net protocol when an error is found in ICMP. For example, TCP/UDP/... error handlers will further bind the error to the socket structure based on information such as the four-tuple address. Should we consider this measure? The lack of it will make send/recv and other APIs unable to check errors such as unreachable addresses.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions