vrf: fix a comment about loopback device
Subsystems (3)
PATCH 1/1 vrf: fix a comment about loopback device
This is a leftover of the below commit.
Fixes 4f04256c983a ("net: vrf: Drop local rtable and rt6_info")
Signed-off-by Nicolas Dichtel <[email protected]>
--- drivers/net/vrf.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-)
drivers/net/vrf.c +4 -6
@@ -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);
Signature · 1 line
2.30.0
Quoted 8 lines · 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 <[email protected]>--- drivers/net/vrf.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-)
Acked-by David Ahern <[email protected]>
Thanks, Nicolas.
This patch was applied to netdev/net.git (refs/heads/master):
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
Quoted 7 lines · 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 <[email protected]>--- 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