Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2013 22:30:01 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-net@FreeBSD.org
Subject:   Re: kern/181931: commit references a PR
Message-ID:  <201311172230.rAHMU1ZS020612@freefall.freebsd.org>

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/181931: commit references a PR
Date: Sun, 17 Nov 2013 22:24:42 +0000 (UTC)

 Author: alfred
 Date: Sun Nov 17 22:24:34 2013
 New Revision: 258280
 URL: http://svnweb.freebsd.org/changeset/base/258280
 
 Log:
   MFC:  258276
   
   Fix creating a vlan over lagg over mlxen crash.
   
   PR:             181931
   Submitted by:   Shahar Klein (shahark mellanox.com)
   
   Approved by:	re
 
 Modified:
   stable/10/sys/ofed/drivers/net/mlx4/en_netdev.c
 Directory Properties:
   stable/10/sys/   (props changed)
 
 Modified: stable/10/sys/ofed/drivers/net/mlx4/en_netdev.c
 ==============================================================================
 --- stable/10/sys/ofed/drivers/net/mlx4/en_netdev.c	Sun Nov 17 21:36:19 2013	(r258279)
 +++ stable/10/sys/ofed/drivers/net/mlx4/en_netdev.c	Sun Nov 17 22:24:34 2013	(r258280)
 @@ -52,6 +52,9 @@ static void mlx4_en_vlan_rx_add_vid(void
  	int idx;
  	u8 field;
  
 +	if (arg != priv)
 +		return;
 +
  	if ((vid == 0) || (vid > 4095))    /* Invalid */
  		return;
  	en_dbg(HW, priv, "adding VLAN:%d\n", vid);
 @@ -73,6 +76,9 @@ static void mlx4_en_vlan_rx_kill_vid(voi
  	int idx;
  	u8 field;
  
 +	if (arg != priv)
 +		return;
 +
  	if ((vid == 0) || (vid > 4095))    /* Invalid */
  		return;
  	en_dbg(HW, priv, "Killing VID:%d\n", vid);
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 



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