[Bug 202482] [patch] [regression] mbuf(9): m_unshare() drops m_pkthdr after r248371

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 19 14:28:46 UTC 2015


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

            Bug ID: 202482
           Summary: [patch] [regression] mbuf(9): m_unshare() drops
                    m_pkthdr after r248371
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch, regression
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: s3erios at gmail.com
          Keywords: patch, regression

Created attachment 160103
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=160103&action=edit
Reverse patch for r248371

This change causes kernel panics on some configurations.

How-to-reproduce:
Add a wireless card without hardware encryption into a bridge.
While sending a packet, m_unshare() in ieee80211_mbuf_adjust() will discard
m->m_pkthdr.rcvif after it was initialized in the ieee80211_vap_pkt_send_dest()
(mbuf must be marked as read-only).

The patch reverts this commit.

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


More information about the freebsd-bugs mailing list