Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

vxlan: Remove unnecessary comments for vxlan_rcv() and vxlan_err_lookup()

Remove the two unnecessary comments around vxlan_rcv() and
vxlan_err_lookup(), which indicate that the callers are from
net/ipv{4,6}/udp.c. These callers are trivial to find. Additionally, the
comment for vxlan_rcv() missed that the caller could also be from
net/ipv6/udp.c.

Suggested-by: Nikolay Aleksandrov <razor@blackwall.org>
Suggested-by: Ido Schimmel <idosch@idosch.org>
Signed-off-by: Ted Chen <znscnchen@gmail.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20250206140002.116178-1-znscnchen@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Ted Chen and committed by
Jakub Kicinski
a494d151 233a2b14

-2
-2
drivers/net/vxlan/vxlan_core.c
··· 1670 1670 return err <= 1; 1671 1671 } 1672 1672 1673 - /* Callback from net/ipv4/udp.c to receive packets */ 1674 1673 static int vxlan_rcv(struct sock *sk, struct sk_buff *skb) 1675 1674 { 1676 1675 struct vxlan_vni_node *vninode = NULL; ··· 1839 1840 return 0; 1840 1841 } 1841 1842 1842 - /* Callback from net/ipv{4,6}/udp.c to check that we have a VNI for errors */ 1843 1843 static int vxlan_err_lookup(struct sock *sk, struct sk_buff *skb) 1844 1844 { 1845 1845 struct vxlan_dev *vxlan;