[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241015090244.36697-1-dongml2@chinatelecom.cn>
Date: Tue, 15 Oct 2024 17:02:44 +0800
From: Menglong Dong <menglong8.dong@...il.com>
To: idosch@...dia.com
Cc: davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
horms@...nel.org,
dongml2@...natelecom.cn,
gnault@...hat.com,
aleksander.lobakin@...el.com,
b.galvani@...il.com,
alce@...ranque.net,
netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH net-next] net: vxlan: update the document for vxlan_snoop()
The function vxlan_snoop() returns drop reasons now, so update the
document of it too.
Signed-off-by: Menglong Dong <dongml2@...natelecom.cn>
---
drivers/net/vxlan/vxlan_core.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/vxlan/vxlan_core.c b/drivers/net/vxlan/vxlan_core.c
index d507155e62ce..fd21a063db4e 100644
--- a/drivers/net/vxlan/vxlan_core.c
+++ b/drivers/net/vxlan/vxlan_core.c
@@ -1435,7 +1435,6 @@ static int vxlan_fdb_get(struct sk_buff *skb,
/* Watch incoming packets to learn mapping between Ethernet address
* and Tunnel endpoint.
- * Return true if packet is bogus and should be dropped.
*/
static enum skb_drop_reason vxlan_snoop(struct net_device *dev,
union vxlan_addr *src_ip,
--
2.39.5
Powered by blists - more mailing lists