Bug 77111

Summary: After pppd establishes connection, if "options MAC" is enabled in the kernel, kernel panic happens.
Product: Base System Reporter: Andrew Korovin <freeside>
Component: kernAssignee: Gleb Smirnoff <glebius>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
diff.0.ppp_tty.c none

Description Andrew Korovin 2005-02-04 23:20:17 UTC
After pppd establishes connection, if "options MAC" is enabled in the kernel, kernel panic happens.

Fix: 

Unknown.
How-To-Repeat: To repeat the problem, you'll have to Enable "options MAC" in kernel and call your ISP with pppd.
Comment 1 Wojciech A. Koszek 2005-02-15 00:32:24 UTC
Hello,
I'm not able to test it in working environment right now, but attached patch
should correct this problem. Needs testing. The problem is that
mac_check_ifnet_transmit() needs to have packet header in passed mbuf. This
function is called from: pppwrite() -- pppoutput() --
mac_check_ifnet_transmit(). Attached patch should correct this problem.

-- 
* Wojciech A. Koszek && dunstan@FreeBSD.czest.pl
Comment 2 Gleb Smirnoff freebsd_committer freebsd_triage 2005-07-01 21:15:01 UTC
State Changed
From-To: open->patched

The problem is fixed in HEAD. 


Comment 3 Gleb Smirnoff freebsd_committer freebsd_triage 2005-07-01 21:15:01 UTC
Responsible Changed
From-To: freebsd-bugs->glebius

My colleague has rediscovered this problem. I've made a fix, and 
was pointed to this PR later.
Comment 4 Gleb Smirnoff freebsd_committer freebsd_triage 2005-08-10 14:59:14 UTC
State Changed
From-To: patched->closed

Merged.