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

Menglong Dong posted 1 patch 1 month, 1 week ago
drivers/net/vxlan/vxlan_core.c | 1 -
1 file changed, 1 deletion(-)
[PATCH net-next] net: vxlan: update the document for vxlan_snoop()
Posted by Menglong Dong 1 month, 1 week ago
The function vxlan_snoop() returns drop reasons now, so update the
document of it too.

Signed-off-by: Menglong Dong <dongml2@chinatelecom.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
Re: [PATCH net-next] net: vxlan: update the document for vxlan_snoop()
Posted by Ido Schimmel 1 month, 1 week ago
On Tue, Oct 15, 2024 at 05:02:44PM +0800, Menglong Dong wrote:
> The function vxlan_snoop() returns drop reasons now, so update the
> document of it too.
> 
> Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>

Reviewed-by: Ido Schimmel <idosch@nvidia.com>