[PATCH net-next] net: vxlan: update the document for vxlan_snoop()

From: Menglong Dong
Date: Tue Oct 15 2024 - 05:04:55 EST


The function vxlan_snoop() returns drop reasons now, so update the
document of it too.

Signed-off-by: Menglong Dong <dongml2@xxxxxxxxxxxxxxx>
---
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