Author: hselasky
Date: Tue Nov 24 13:07:59 2020
New Revision: 367981
URL: https://svnweb.freebsd.org/changeset/base/367981

Log:
  Remove erradic assert after SVN r367149 in mlx5en(4).
  
  The ratelimit tags may be shared, especially for unlimited TLS
  traffic, and then the refcount is allowed to be greater than one
  when freeing the send tag.
  
  MFC after:    1 week
  Sponsored by: Mellanox Technologies // NVIDIA Networking

Modified:
  head/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c

Modified: head/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c
==============================================================================
--- head/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c  Tue Nov 24 06:42:32 2020        
(r367980)
+++ head/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c  Tue Nov 24 13:07:59 2020        
(r367981)
@@ -466,7 +466,6 @@ mlx5e_tls_snd_tag_free(struct m_snd_tag *pmt)
            container_of(pmt, struct mlx5e_tls_tag, tag);
        struct mlx5e_priv *priv;
 
-       MPASS(ptag->rl_tag->refcount == 1);
        m_snd_tag_rele(ptag->rl_tag);
 
        MLX5E_TLS_TAG_LOCK(ptag);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to