Skip to content

Memory leak from fragmented payload #3605

@zephyrbot

Description

@zephyrbot

Reported by Ruslan Mstoi:

Defensics test case #6 ICMPv6.Echo.Echo-Request.IPv6-Packet.payload.protocol.icmpv6-message.icmpv6-echo-request.element

After running this test case echo server has a memory leak:

Fragment length 128 bytes
Network buffer pools:
Name Size Count Avail Address
RX 8000 100 98 0x0011ee4c
TX 8000 100 100 0x0011ee68
RX DATA (rx_bufs) 14800 100 76 0x0011e620
TX DATA (tx_bufs) 14800 100 100 0x0011e5e0

To reproduce, use attached testcase6-replay.pcap , and replay it by:

  1. Enable fragmentation in echo_server
  2. Set MAC address of echo_server to 10:00:00:00:00:10
  3. sudo tcpreplay -i tap0 testcase6-replay.pcap

(Imported from Jira ZEP-2166)

Metadata

Metadata

Assignees

Labels

area: NetworkingbugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bug

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions