Bug 202482 - [patch] [regression] mbuf(9): m_unshare() drops m_pkthdr after r248371
Summary: [patch] [regression] mbuf(9): m_unshare() drops m_pkthdr after r248371
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: Gleb Smirnoff
URL:
Keywords: patch, regression
Depends on:
Blocks: 195074
  Show dependency treegraph
 
Reported: 2015-08-19 14:28 UTC by Andriy Voskoboinyk
Modified: 2015-10-07 12:45 UTC (History)
1 user (show)

See Also:


Attachments
Reverse patch for r248371 (1.67 KB, patch)
2015-08-19 14:28 UTC, Andriy Voskoboinyk
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andriy Voskoboinyk freebsd_committer freebsd_triage 2015-08-19 14:28:46 UTC
Created attachment 160103 [details]
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.