Skip to content
Snippets Groups Projects
Commit afed1c10 authored by Samuel Thibault's avatar Samuel Thibault
Browse files

mbuf: Fix copying headers

Since we increase m->m_len by header_size, we mustn't add header_size
again when copying.

n->m_len also needs to be subtracted header_size, since we advance
n->m_data by header_size.

This only had effect for ipv6 trafic with debug builds
parent ef3ee739
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment