The following reply was made to PR kern/172364; it has been noted by GNATS.

From: Navdeep Parhar <n...@freebsd.org>
To: bug-follo...@freebsd.org, atkin...@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
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to