[Bug 198928] mbuf tags aren't being copied from the leading fragment (header) to the subsequent fragment packets

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 26 15:27:31 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198928

            Bug ID: 198928
           Summary: mbuf tags aren't being copied from the leading
                    fragment (header) to the subsequent fragment packets
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: fodillemlinkarim at gmail.com

Created attachment 154834
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=154834&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list