Open thburghout opened 5 years ago
I'm not entirely sure what the policy is to handle those types of changes.
The notification_cbs
should probably target both event names to preserve compatibility with older kernels.
As for the function names themselves, I don't think renaming them is necessary if both event names are targeted.
Maybe @eepp and/or @jdesfossez would care to comment here.
The current project uses
net_dev_xmit
andnetif_receive_skb
to trace network usage. However; my machine (4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) x86_64 GNU/Linux
) reportsnet_if_receive_skb
.I've solved this for my self by replacing all string occurrences of
netif_receive_skb
bynet_if_receive_skb
.I think it would be desired to fix this in this repo as well. Is this solution sufficient? Would all functions need to be renamed as well?