Author: ngie
Date: Mon Nov 23 09:36:25 2015
New Revision: 291186
URL: https://svnweb.freebsd.org/changeset/base/291186

Log:
  MFstable/10 r291185:
  
  MFC r291047:
  
  Don't leak work if __mlx4_register_vlan(..) fails in
  mlx4_master_immediate_activate_vlan_qos(..)
  
  Differential Revision: https://reviews.freebsd.org/D4203
  Submitted by: Miles Olrich <miles.olr...@isilon.com>
  Sponsored by: EMC / Isilon Storage Division

Modified:
  stable/9/sys/ofed/drivers/net/mlx4/cmd.c
Directory Properties:
  stable/9/   (props changed)
  stable/9/sys/   (props changed)

Modified: stable/9/sys/ofed/drivers/net/mlx4/cmd.c
==============================================================================
--- stable/9/sys/ofed/drivers/net/mlx4/cmd.c    Mon Nov 23 09:33:27 2015        
(r291185)
+++ stable/9/sys/ofed/drivers/net/mlx4/cmd.c    Mon Nov 23 09:36:25 2015        
(r291186)
@@ -1784,6 +1784,7 @@ static int mlx4_master_immediate_activat
                                mlx4_warn((&priv->dev),
                                          "No vlan resources slave %d, port 
%d\n",
                                          slave, port);
+                               kfree(work);
                                return err;
                        }
                } else {
_______________________________________________
svn-src-stable-9@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"

Reply via email to