Skip to content

Missing ethernet padding remove while reassemble small fragment  #1670

@chrhong

Description

@chrhong

Hi,

Does those reassemble example code forget to remove ethernet padding ?

assert(!send_packet(complete_datagram, out));

The padding is filled while ethernet frame too small which < 64bytes. Then zero padding is extended. Those padding should be removed manually while reassemble those fragments.

You can refer dpdk example:
https://github.com/DPDK/dpdk/blob/4a6672c2d301c105189ae74de73260af204c5ee8/lib/ip_frag/rte_ipv4_reassembly.c#L140

Br,
Christian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions