diff options
author | Menglong Dong <menglong8.dong@gmail.com> | 2024-10-15 11:02:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-10-18 14:16:48 +0200 |
commit | 160a810b2a8588187ec2b1536d0355c0aab8981c (patch) | |
tree | bedcb00f33b2b1aa33dbc3760cd9bd6825b7c8ee | |
parent | net: vxlan: replace VXLAN_INVALID_HDR with VNI_NOT_FOUND (diff) | |
download | linux-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.c | 1 |
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, |