This patch fixes a bunch of issues in cpsw_ndo_vlan_rx_kill_vid()
- pm_runtime_get_sync() returns non zero value. This results in
non zero value return to caller which will be interpreted as error.
So overwrite ret with zero.
- If VID matches with port VLAN VID, then set error code.
- Cur
From: Murali Karicheri
Date: Mon, 24 Aug 2020 13:01:00 -0400
> + ret = cpsw_ale_del_vlan(cpsw->ale, vid, 0);
> + if (ret)
> + dev_err(priv->dev, "%s: failed %d: ret %d\n",
> + __func__, __LINE__, ret);
> + ret = cpsw_ale_del_ucast(cpsw->ale, priv->mac_a
Hi Dave,
On 8/25/20 12:36 PM, David Miller wrote:
From: Murali Karicheri
Date: Mon, 24 Aug 2020 13:01:00 -0400
+ ret = cpsw_ale_del_vlan(cpsw->ale, vid, 0);
+ if (ret)
+ dev_err(priv->dev, "%s: failed %d: ret %d\n",
+ __func__, __LINE__, ret);
+
3 matches
Mail list logo