On Wed, Jul 02, 2025 at 03:06:33AM -0700, Breno Leitao wrote:
Replace pointer-dereference sizeof() operations with explicit struct names for improved readability and maintainability. This change:
- Replaces `sizeof(*udph)` with `sizeof(struct udphdr)`
- Replaces `sizeof(*ip6h)` with `sizeof(struct ipv6hdr)`
- Replaces `sizeof(*iph)` with `sizeof(struct iphdr)`
This will make it easy to move code in the upcoming patches.
No functional changes are introduced by this patch.
Signed-off-by: Breno Leitao leitao@debian.org
Reviewed-by: Simon Horman horms@kernel.org