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>
This commit is contained in:
Menglong Dong 2024-10-15 17:02:44 +08:00 committed by David S. Miller
parent eb4f99c56a
commit 160a810b2a

View File

@ -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,