net/mlx4_en: Don't allow aRFS for encapsulated packets
Subsystems (4)
Tariq Toukan
maintainerPATCH 1/1 net/mlx4_en: Don't allow aRFS for encapsulated packets
From: Aya Levin <[email protected]>
Driver doesn't support aRFS for encapsulated packets, return early error in such a case.
Fixes 1eb8c695bda9 ("net/mlx4_en: Add accelerated RFS support")
Signed-off-by Aya Levin <[email protected]>
Signed-off-by Tariq Toukan <[email protected]>
--- drivers/net/ethernet/mellanox/mlx4/en_netdev.c | 3 +++ 1 file changed, 3 insertions(+)
Hi,
Please queue to -stable.
Regards,
Tariq
drivers/net/ethernet/mellanox/mlx4/en_netdev.c +3 -0
@@ -372,6 +372,9 @@ mlx4_en_filter_rfs(struct net_device *net_dev, const struct sk_buff *skb,int nhoff =skb_network_offset (skb);int ret =0 ; +if (skb->encapsulation) +return -EPROTONOSUPPORT ; +if (skb->protocol !=htons (ETH_P_IP ))return -EPROTONOSUPPORT ;
Signature · 1 line
2.21.0
This patch was applied to netdev/net.git (refs/heads/master):
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
Quoted 10 lines · On Thu, 23 Sep 2021 09:51:45 +0300 you wrote:
From: Aya Levin <[email protected]>
Driver doesn't support aRFS for encapsulated packets, return early error in such a case.
Fixes 1eb8c695bda9 ("net/mlx4_en: Add accelerated RFS support")Signed-off-by Aya Levin <[email protected]>Signed-off-by Tariq Toukan <[email protected]>[...]
Here is the summary with links:
- [net] net/mlx4_en: Don't allow aRFS for encapsulated packets
https://git.kernel.org/netdev/net/c/fdbccea419dc
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html