All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net] vrf: fix a comment about loopback device
@ 2021-04-14 10:03 Nicolas Dichtel
  2021-04-14 17:24 ` David Ahern
  2021-04-14 20:20 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Nicolas Dichtel @ 2021-04-14 10:03 UTC (permalink / raw)
  To: davem, kuba, dsahern; +Cc: netdev, Nicolas Dichtel

This is a leftover of the below commit.

Fixes: 4f04256c983a ("net: vrf: Drop local rtable and rt6_info")
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
---
 drivers/net/vrf.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c
index cde8ffd182b0..7a02e0b6ff7c 100644
--- a/drivers/net/vrf.c
+++ b/drivers/net/vrf.c
@@ -471,9 +471,8 @@ static netdev_tx_t vrf_process_v6_outbound(struct sk_buff *skb,
 
 	skb_dst_drop(skb);
 
-	/* if dst.dev is loopback or the VRF device again this is locally
-	 * originated traffic destined to a local address. Short circuit
-	 * to Rx path
+	/* if dst.dev is the VRF device again this is locally originated traffic
+	 * destined to a local address. Short circuit to Rx path.
 	 */
 	if (dst->dev == dev)
 		return vrf_local_xmit(skb, dev, dst);
@@ -547,9 +546,8 @@ static netdev_tx_t vrf_process_v4_outbound(struct sk_buff *skb,
 
 	skb_dst_drop(skb);
 
-	/* if dst.dev is loopback or the VRF device again this is locally
-	 * originated traffic destined to a local address. Short circuit
-	 * to Rx path
+	/* if dst.dev is the VRF device again this is locally originated traffic
+	 * destined to a local address. Short circuit to Rx path.
 	 */
 	if (rt->dst.dev == vrf_dev)
 		return vrf_local_xmit(skb, vrf_dev, &rt->dst);
-- 
2.30.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net] vrf: fix a comment about loopback device
  2021-04-14 10:03 [PATCH net] vrf: fix a comment about loopback device Nicolas Dichtel
@ 2021-04-14 17:24 ` David Ahern
  2021-04-14 20:20 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: David Ahern @ 2021-04-14 17:24 UTC (permalink / raw)
  To: Nicolas Dichtel, davem, kuba; +Cc: netdev

On 4/14/21 3:03 AM, Nicolas Dichtel wrote:
> This is a leftover of the below commit.
> 
> Fixes: 4f04256c983a ("net: vrf: Drop local rtable and rt6_info")
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
> ---
>  drivers/net/vrf.c | 10 ++++------
>  1 file changed, 4 insertions(+), 6 deletions(-)
> 

Acked-by: David Ahern <dsahern@gmail.com>

Thanks, Nicolas.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net] vrf: fix a comment about loopback device
  2021-04-14 10:03 [PATCH net] vrf: fix a comment about loopback device Nicolas Dichtel
  2021-04-14 17:24 ` David Ahern
@ 2021-04-14 20:20 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-04-14 20:20 UTC (permalink / raw)
  To: Nicolas Dichtel; +Cc: davem, kuba, dsahern, netdev

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Wed, 14 Apr 2021 12:03:25 +0200 you wrote:
> This is a leftover of the below commit.
> 
> Fixes: 4f04256c983a ("net: vrf: Drop local rtable and rt6_info")
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
> ---
>  drivers/net/vrf.c | 10 ++++------
>  1 file changed, 4 insertions(+), 6 deletions(-)

Here is the summary with links:
  - [net] vrf: fix a comment about loopback device
    https://git.kernel.org/netdev/net/c/2e1534f395e7

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-14 20:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14 10:03 [PATCH net] vrf: fix a comment about loopback device Nicolas Dichtel
2021-04-14 17:24 ` David Ahern
2021-04-14 20:20 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.