kern/172364: [cxbge] cxbge_vlan_config() Fatal trap 12: page
fault while in kernel mode
Navdeep Parhar
np at FreeBSD.org
Fri Oct 5 17:50:15 UTC 2012
The following reply was made to PR kern/172364; it has been noted by GNATS.
From: Navdeep Parhar <np at FreeBSD.org>
To: bug-followup at FreeBSD.org, atkin901 at gmail.com
Cc:
Subject: Re: kern/172364: [cxbge] cxbge_vlan_config() Fatal trap 12: page
fault while in kernel mode
Date: Fri, 05 Oct 2012 10:41:56 -0700
Here's an untested patch that you could try:
diff -r 62ccc35abd89 sys/dev/cxgbe/t4_main.c
--- a/sys/dev/cxgbe/t4_main.c Wed Oct 03 15:57:10 2012 -0700
+++ b/sys/dev/cxgbe/t4_main.c Fri Oct 05 10:32:11 2012 -0700
@@ -2995,7 +2995,7 @@
{
struct ifnet *vlan;
- if (arg != ifp)
+ if (arg != ifp || ifp->if_type != IFT_ETHER)
return;
vlan = VLAN_DEVAT(ifp, vid);
By the way, I noticed your kernel name is CXGBETOE. Keep in mind that
hw TCP offload over an if_lagg is unimplemented as of now. TCP offload
over an if_vlan directly over cxgbe will work just fine.
Regards,
Navdeep
More information about the freebsd-net
mailing list