Bug 198928

Summary: mbuf tags aren't being copied from the leading fragment (header) to the subsequent fragment packets
Product: Base System Reporter: fodillemlinkarim
Component: kernAssignee: Hans Petter Selasky <hselasky>
Status: Closed FIXED    
Severity: Affects Some People CC: hselasky, markj
Priority: --- Keywords: patch
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
After some back and forth on the mailing list (freebsd-net) Hans Petter Selasky came up with the attached patch which I tested successfully. none

Description fodillemlinkarim 2015-03-26 15:27:30 UTC
Created attachment 154834 [details]
After some back and forth on the mailing list (freebsd-net) Hans Petter Selasky came up with the attached patch which I tested successfully.

I've noticed that mbuf tags aren't being copied from the leading fragment (header) to the subsequent fragment packets. In other words, one would expect that all fragments of a packet are carrying the same tags that were set on the original packet. I have built a simple test were I use ipfw with ALTQ and sent large packet (bigger then MTU) off that BSD machine. I have observed that the leading fragment (m0) packet is going through the right class although the next fragments are hitting the default class for unclassified packets.
Comment 1 Hans Petter Selasky freebsd_committer freebsd_triage 2015-03-29 08:36:02 UTC
I'll process this issue in the coming week. Thank you!
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2018-05-23 10:27:12 UTC
batch change of PRs untouched in 2018 marked "in progress" back to open.
Comment 3 Mark Johnston freebsd_committer freebsd_triage 2020-07-06 13:50:28 UTC
This was committed in r280991.