From: Menglong Dong Date: Tue, 15 Oct 2024 09:02:44 +0000 (+0800) Subject: net: vxlan: update the document for vxlan_snoop() X-Git-Tag: v6.13-rc1~135^2~276 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=160a810b2a8588187ec2b1536d0355c0aab8981c;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Ido Schimmel Signed-off-by: David S. Miller --- diff --git a/drivers/net/vxlan/vxlan_core.c b/drivers/net/vxlan/vxlan_core.c index c1e48711f211c..841b59d1c1c2e 100644 --- a/drivers/net/vxlan/vxlan_core.c +++ b/drivers/net/vxlan/vxlan_core.c @@ -1435,7 +1435,6 @@ errout: /* 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,