Header digests are optional, but if they are present, the PDU length
(plen) must be at least long enough to include both the full header
(ch->hlen) and the header digest. Previously, a header-only PDU with
the HDGST flag set but omitting the actual digest from the PDU length
could cause the kernel to attempt to read the received digest off the
end of an mbuf resulting in a panic.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 79161 Build 76044: arc lint + arc unit