aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/mellanox/mlx4/en_netdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/en_netdev.c b/drivers/net/ethernet/mellanox/mlx4/en_netdev.c
index 8864d8b53737..edd9cb8d3e1d 100644
--- a/drivers/net/ethernet/mellanox/mlx4/en_netdev.c
+++ b/drivers/net/ethernet/mellanox/mlx4/en_netdev.c
@@ -201,7 +201,7 @@ mlx4_en_filter_alloc(struct mlx4_en_priv *priv, int rxq_index, __be32 src_ip,
201 201
202 filter->flow_id = flow_id; 202 filter->flow_id = flow_id;
203 203
204 filter->id = priv->last_filter_id++; 204 filter->id = priv->last_filter_id++ % RPS_NO_FILTER;
205 205
206 list_add_tail(&filter->next, &priv->filters); 206 list_add_tail(&filter->next, &priv->filters);
207 hlist_add_head(&filter->filter_chain, 207 hlist_add_head(&filter->filter_chain,