summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMenglong Dong <menglong8.dong@gmail.com>2024-10-15 11:02:44 +0200
committerDavid S. Miller <davem@davemloft.net>2024-10-18 14:16:48 +0200
commit160a810b2a8588187ec2b1536d0355c0aab8981c (patch)
treebedcb00f33b2b1aa33dbc3760cd9bd6825b7c8ee
parentnet: vxlan: replace VXLAN_INVALID_HDR with VNI_NOT_FOUND (diff)
downloadlinux-160a810b2a8588187ec2b1536d0355c0aab8981c.tar.xz
linux-160a810b2a8588187ec2b1536d0355c0aab8981c.zip
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@chinatelecom.cn> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/vxlan/vxlan_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/vxlan/vxlan_core.c b/drivers/net/vxlan/vxlan_core.c
index c1e48711f211..841b59d1c1c2 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,