]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
net: vxlan: update the document for vxlan_snoop()
authorMenglong Dong <menglong8.dong@gmail.com>
Tue, 15 Oct 2024 09:02:44 +0000 (17:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2024 12:16:48 +0000 (13:16 +0100)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan/vxlan_core.c

index c1e48711f211ca99e2576e507398a5529bd1eb9d..841b59d1c1c2e1f925bb1956737549ffe47e1d4c 100644 (file)
@@ -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,