Commit 5df7ca0b authored by Yu Tian's avatar Yu Tian Committed by Jakub Kicinski
Browse files

ipv4: remove useless arg



The "struct sock *sk" parameter in ip_rcv_finish_core is unused, which
leads the compiler to optimize it out. As a result, the
"struct sk_buff *skb" parameter is passed using x1. And this make kprobe
hard to use.

Signed-off-by: default avatarYu Tian <tianyu2@kernelsoft.com>
Link: https://patch.msgid.link/20241231023610.1657926-1-tianyu2@kernelsoft.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent bb70b0d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment