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.

net/hsr: update outdated comments

The function hsr_rcv() was renamed hsr_handle_frame() and moved to
net/hsr/hsr_slave.c by commit 81ba6afd6e64 ("net/hsr: Switch from
dev_add_pack() to netdev_rx_handler_register()").

Update all remaining references in the comments accordingly.

Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260225145159.2953-1-kexinsun@smail.nju.edu.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Kexin Sun and committed by
Jakub Kicinski
b99ccb37 11c0663a

+4 -4
+1 -1
net/hsr/hsr_device.c
··· 742 742 hsr->proto_ops = &hsr_ops; 743 743 } 744 744 745 - /* Make sure we recognize frames from ourselves in hsr_rcv() */ 745 + /* Make sure we recognize frames from ourselves in hsr_handle_frame() */ 746 746 res = hsr_create_self_node(hsr, hsr_dev->dev_addr, 747 747 slave[1]->dev_addr); 748 748 if (res < 0)
+2 -2
net/hsr/hsr_framereg.c
··· 71 71 return !!find_node_by_addr_A(node_db, addr); 72 72 } 73 73 74 - /* Helper for device init; the self_node is used in hsr_rcv() to recognize 75 - * frames from self that's been looped over the HSR ring. 74 + /* Helper for device init; the self_node is used in hsr_handle_frame() to 75 + * recognize frames from self that's been looped over the HSR ring. 76 76 */ 77 77 int hsr_create_self_node(struct hsr_priv *hsr, 78 78 const unsigned char addr_a[ETH_ALEN],
+1 -1
net/hsr/hsr_main.c
··· 89 89 } 90 90 } 91 91 92 - /* Make sure we recognize frames from ourselves in hsr_rcv() */ 92 + /* Make sure we recognize frames from ourselves in hsr_handle_frame() */ 93 93 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); 94 94 res = hsr_create_self_node(hsr, 95 95 master->dev->dev_addr,