mirror of
https://github.com/opnsense/src.git
synced 2026-05-26 19:23:04 -04:00
The code for the "shift" block in the COPY macro set the pointer for
the next copy block to the wrong value. In this case, the link-layer
header would be overwritten by the network-layer header. This case is
difficult or impossible to exercise in the current driver without
changing the value of the hw.genet.tx_hdr_min sysctl. Correct the
pointer. While here, remove a line in the macro that was marked
"unneeded", which was actually wrong.
PR: 263824
Submitted by: jiahali@blackberry.com
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| brcmmdio | ||
| genet | ||