Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2012 17:50:14 GMT
From:      Navdeep Parhar <np@FreeBSD.org>
To:        freebsd-net@FreeBSD.org
Subject:   Re: kern/172364: [cxbge] cxbge_vlan_config() Fatal trap 12: page fault while in kernel mode
Message-ID:  <201210051750.q95HoEuo087272@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/172364; it has been noted by GNATS.

From: Navdeep Parhar <np@FreeBSD.org>
To: bug-followup@FreeBSD.org, atkin901@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210051750.q95HoEuo087272>